gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r1596 - GNUnet/src/applications/advertising


From: durner
Subject: [GNUnet-SVN] r1596 - GNUnet/src/applications/advertising
Date: Tue, 2 Aug 2005 10:46:05 -0700 (PDT)

Author: durner
Date: 2005-08-02 10:46:03 -0700 (Tue, 02 Aug 2005)
New Revision: 1596

Modified:
   GNUnet/src/applications/advertising/bootstrap.c
Log:
Fix rare assertion

Modified: GNUnet/src/applications/advertising/bootstrap.c
===================================================================
--- GNUnet/src/applications/advertising/bootstrap.c     2005-08-02 17:45:26 UTC 
(rev 1595)
+++ GNUnet/src/applications/advertising/bootstrap.c     2005-08-02 17:46:03 UTC 
(rev 1596)
@@ -83,7 +83,7 @@
     if ( (hcq->helosCount > 0) &&
         (abort_bootstrap == NO) ) {
       /* wait a bit */
-      int load;
+      unsigned int load;
       int nload;
       load = getCPULoad();
       nload = getNetworkLoadUp();
@@ -94,6 +94,7 @@
        load = nload;
       if (load > 100)
        load = 100;
+
       gnunet_util_sleep(50 + randomi((load+1)*(load+1)));
     }
   }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]