gnunet-svn
[Top][All Lists]
Advanced

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

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


From: grothoff
Subject: [GNUnet-SVN] r1763 - GNUnet/src/applications/identity
Date: Fri, 19 Aug 2005 15:18:25 -0700 (PDT)

Author: grothoff
Date: 2005-08-19 15:18:24 -0700 (Fri, 19 Aug 2005)
New Revision: 1763

Modified:
   GNUnet/src/applications/identity/identity.c
Log:
i or j -- fixing Mantis 880

Modified: GNUnet/src/applications/identity/identity.c
===================================================================
--- GNUnet/src/applications/identity/identity.c 2005-08-19 22:14:34 UTC (rev 
1762)
+++ GNUnet/src/applications/identity/identity.c 2005-08-19 22:18:24 UTC (rev 
1763)
@@ -1069,13 +1069,14 @@
   HostEntry * entry;
 
   for (i=0;i<MAX_TEMP_HOSTS;i++) {
-    for (j=0;j<tempHosts[i].heloCount;i++)
-      FREE(tempHosts[i].helos[j]);
-    GROW(tempHosts[i].helos,
-        tempHosts[i].heloCount,
+    entry = &tempHosts[i];
+    for (j=0;j<entry->heloCount;j++)
+      FREE(entry->helos[j]);
+    GROW(entry->helos,
+        entry->heloCount,
         0);
-    GROW(tempHosts[i].protocols,
-        tempHosts[i].protocolCount,
+    GROW(entry->protocols,
+        entry->protocolCount,
         0);
   }
   delCronJob(&cronScanDirectoryDataHosts,





reply via email to

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