Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

1000000 usec -> 1 sec 0 usec; fix.

  • Loading branch information...
commit f5e0f30d4bed22658d955b4b0e42b1b7db60deef 1 parent 6e339eb
sumikawa authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 kame/kame/pim6dd/main.c
View
4 kame/kame/pim6dd/main.c
@@ -33,7 +33,7 @@
* Questions concerning this software should be directed to
* Kurt Windisch (kurtw@antc.uoregon.edu)
*
- * $Id: main.c,v 1.2 1999/08/13 09:20:13 jinmei Exp $
+ * $Id: main.c,v 1.3 2000/03/26 19:11:41 sumikawa Exp $
*/
/*
* Part of this program has been derived from PIM sparse-mode pimd.
@@ -523,7 +523,7 @@ main(argc, argv)
IF_DEBUG(DEBUG_TIMEOUT)
log(LOG_DEBUG, 0, "TIMEOUT: secs %d, diff secs %d, diff usecs %d", secs, difftime.tv_sec, difftime.tv_usec );
#endif
- while (difftime.tv_usec > 1000000) {
+ while (difftime.tv_usec >= 1000000) {
difftime.tv_sec++;
difftime.tv_usec -= 1000000;
}
Please sign in to comment.
Something went wrong with that request. Please try again.