gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r6110 - GNUnet/src/applications/dht/module


From: gnunet
Subject: [GNUnet-SVN] r6110 - GNUnet/src/applications/dht/module
Date: Tue, 22 Jan 2008 10:15:39 -0700 (MST)

Author: grothoff
Date: 2008-01-22 10:15:39 -0700 (Tue, 22 Jan 2008)
New Revision: 6110

Modified:
   GNUnet/src/applications/dht/module/routing.c
Log:
fix

Modified: GNUnet/src/applications/dht/module/routing.c
===================================================================
--- GNUnet/src/applications/dht/module/routing.c        2008-01-22 02:17:51 UTC 
(rev 6109)
+++ GNUnet/src/applications/dht/module/routing.c        2008-01-22 17:15:39 UTC 
(rev 6110)
@@ -629,10 +629,6 @@
           store = 1;
           continue;
         }
-      else
-        {
-          j++;
-        }
       if (1 == GNUNET_hash_xorcmp (&next[j].hashPubKey,
                                    &coreAPI->myIdentity->hashPubKey,
                                    &put->key))
@@ -645,6 +641,7 @@
                      "Forwarding DHT PUT request to peer `%s'.\n", &enc);
 #endif
       coreAPI->unicast (&next[j], &aput->header, DHT_PRIORITY, DHT_DELAY);
+      j++;
     }
   GNUNET_free (aput);
   if (store != 0)





reply via email to

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