Should it not be:

             excludeFrom->FindFirst(url) >= 0)

??


On Tue, 15 Sep 1998, Alexander Bergolth wrote:

> 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                          [EMAIL PROTECTED]
> 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
> [EMAIL PROTECTED] containing the single word "unsubscribe" in
> the body of the message.
> 

--jesse
---------------------------------------------------------------------
J. op den Brouw                            Johanna Westerdijkplein 75
Haagse Hogeschool                                   2521 EN  DEN HAAG
Sector Techniek                                           Netherlands
Afdeling Elektrotechniek                               +31 70 4458936
-------------------------- [EMAIL PROTECTED] ---------------------------

htdig survey: http://crytonII.st.hhs.nl/htdig/survey.html

----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the body of the message.

Reply via email to