gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r8681 - GNUnet/src/applications/dv_dht/module


From: gnunet
Subject: [GNUnet-SVN] r8681 - GNUnet/src/applications/dv_dht/module
Date: Mon, 13 Jul 2009 14:51:58 -0600

Author: nevans
Date: 2009-07-13 14:51:58 -0600 (Mon, 13 Jul 2009)
New Revision: 8681

Modified:
   GNUnet/src/applications/dv_dht/module/routing.c
Log:
put termination check

Modified: GNUnet/src/applications/dv_dht/module/routing.c
===================================================================
--- GNUnet/src/applications/dv_dht/module/routing.c     2009-07-13 20:12:35 UTC 
(rev 8680)
+++ GNUnet/src/applications/dv_dht/module/routing.c     2009-07-13 20:51:58 UTC 
(rev 8681)
@@ -879,6 +879,15 @@
   if (GNUNET_YES == GNUNET_DV_DHT_am_closest_peer (&put->key))
     store = 1;
 
+  if ((store == 0) && (target_value == 0) && (debug_routes_extended) && 
(dhtlog != NULL))
+  {
+    queryuid = ntohl (put->queryuid);
+    dhtlog->insert_route (NULL, queryuid, DHTLOG_PUT,
+                          hop_count, GNUNET_NO,
+                          coreAPI->my_identity, &put->key, sender,
+                          NULL);
+  }
+
   if (store != 0)
     {
       now = GNUNET_get_time ();





reply via email to

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