By the way: It would be more proper to use the Ns_IncrTime api to
manipulate this timeval.  E.g.,

    Ns_GetTime(&timeout);
    Ns_IncrTime(&timeout, 10, 0);

This makes more sense once the constant delta seconds is replaced by a
configurable value.


Rob Crittenden wrote on 2/23/2004, 11:58 AM:

 > Or here I am with a better fix rather than changing the semantics of an
 > existing function (what was I thinking!?).
 >
 > Still using Dobby's patch, change the way the timeout is set from
 >
 >     timeout.sec = 10;
 >     timeout.usec = 0;
 >
 > to
 >
 >     Ns_GetTime(&timeout);
 >     timeout.sec += 10;


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to