OSSP CVS Repository

ossp - Difference in ossp-pkg/uuid/uuid.c versions 1.43 and 1.44
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/uuid/uuid.c 1.43 -> 1.44

--- uuid.c       2004/01/19 14:11:49     1.43
+++ uuid.c       2004/01/19 14:56:35     1.44
@@ -756,9 +756,11 @@
 
         /* check whether system time changed since last retrieve */
         if (!(   time_now.tv_sec  == uuid->time_last.tv_sec
-              && time_now.tv_usec == uuid->time_last.tv_usec))
-            /* reset time sequence counter */
+              && time_now.tv_usec == uuid->time_last.tv_usec)) {
+            /* reset time sequence counter and continue */
             uuid->time_seq = 0;
+            break;
+        }
 
         /* until we are out of UUIDs per tick, increment
            the time/tick sequence counter and continue */

CVSTrac 2.0.1