gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r1147 - GNUnet/src/applications/identity


From: grothoff
Subject: [GNUnet-SVN] r1147 - GNUnet/src/applications/identity
Date: Thu, 30 Jun 2005 02:38:17 -0700 (PDT)

Author: grothoff
Date: 2005-06-30 02:38:14 -0700 (Thu, 30 Jun 2005)
New Revision: 1147

Modified:
   GNUnet/src/applications/identity/identity.c
Log:
bug

Modified: GNUnet/src/applications/identity/identity.c
===================================================================
--- GNUnet/src/applications/identity/identity.c 2005-06-30 09:16:42 UTC (rev 
1146)
+++ GNUnet/src/applications/identity/identity.c 2005-06-30 09:38:14 UTC (rev 
1147)
@@ -325,7 +325,7 @@
   cron_t now;
 
   cronTime(&now);
-  if (lastRun + MAX_DATA_HOST_FREQ < now)
+  if (lastRun + MAX_DATA_HOST_FREQ > now)
     return; /* prevent scanning more than
               once every 5 min */
   lastRun = now;
@@ -712,7 +712,7 @@
   PeerIdentity hi;
   unsigned short proto;
 
-  count = 0;
+  count = 0;  
   MUTEX_LOCK(&lock_);
   for (i=0;i<count_;i++) {
     if (hostIdentityEquals(&hosts_[i].identity,





reply via email to

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