htdig: htsearch exclude bug


Alexander Bergolth (leo@strike.wu-wien.ac.at)
Tue, 15 Sep 1998 13:20:14 +0200 (MES)


Hi!

I think there is an error in Display.cc of htsearch:

Display.cc Line 184:
----------
 if (excludeFrom &&
            excludeFrom->hasPattern() &&
            excludeFrom->FindFirst(url) < 0)
     return 0;
 else
     return 1;
----------
should look like this:
----------
 if (excludeFrom &&
            excludeFrom->hasPattern() &&
            excludeFrom->FindFirst(url) > 0)
     return 0;
 else
     return 1;
----------
(otherwise only those pages, that _match_ the exclude Patterns are
displayed)

Bye,
     Leo

-----------------------------------------------------------------------
Alexander (Leo) Bergolth leo@leo.wu-wien.ac.at
WU-Wien - Zentrum fuer Informatikdienste http://leo.wu-wien.ac.at
Info Center
In a world without walls and fences, who needs windows and gates?

----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:27:44 PST