At 12:15 PM +0300 11/29/99, Alexis Mikhailov wrote:
>Hello!
>
>Gilles Detillieux wrote:
>
>  > According to Joe R. Jah:
>  > > Retriever.cc-h.diff is the culprit; I backed it off, and 
>everything worked
>  > > without a problem.
>  >
>  > Aw, nuts!  I wanted that patch.  Maybe we should just try for a simpler
>
>There is one bug that can cause trouble. Look at this bit:
...
>Not IsLocal(url.get()), but IsLocal(u.get()). I cant check this change
>just now, because I have sources for htdig only at home, so I would be
>able to report is it right untill tomorrow.

Nah, this shouldn't cause a problem. A larger section of code is:

     String      url;
...
        URL     u(tokens[i]);
        server = (Server *) servers[u.signature()];
        url = u.get();
...
                 cout << " pushed";
        server->push(u.get(), 0, 0);
         }

So "url" is simply the string of u.get(), and either u.get() or 
url.get() will return the same thing. For consistency, however, we 
should probably go with u.get().

-Geoff


------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 

Reply via email to