X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fmain.c;h=498f856430ce8244b1bc45a084d645a8225f2958;hp=e0352f02d462726e7ab9e54f75aed64268e58db7;hb=ffa027207fff95bd19cb529105bd549fb6ae1709;hpb=aac99e2604e20409d9f0538ceb8590c2f75220a0 diff --git a/pppd/main.c b/pppd/main.c index e0352f0..498f856 100644 --- a/pppd/main.c +++ b/pppd/main.c @@ -17,7 +17,7 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#define RCSID "$Id: main.c,v 1.105 2001/03/12 22:58:59 paulus Exp $" +#define RCSID "$Id: main.c,v 1.106 2001/04/27 23:16:13 paulus Exp $" #include #include @@ -1087,9 +1087,6 @@ static struct timeval timenow; /* Current time */ /* * timeout - Schedule a timeout. - * - * Note that this timeout takes the number of milliseconds, NOT hz (as in - * the kernel). */ void timeout(func, arg, secs, usecs) @@ -1098,10 +1095,10 @@ timeout(func, arg, secs, usecs) int secs, usecs; { struct callout *newp, *p, **pp; - + MAINDEBUG(("Timeout %p:%p in %d.%03d seconds.", func, arg, - time / 1000, time % 1000)); - + secs, usecs/1000)); + /* * Allocate timeout. */