gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r26237 - gnunet/src/dht


From: gnunet
Subject: [GNUnet-SVN] r26237 - gnunet/src/dht
Date: Fri, 1 Mar 2013 03:20:04 +0100

Author: bartpolot
Date: 2013-03-01 03:20:04 +0100 (Fri, 01 Mar 2013)
New Revision: 26237

Modified:
   gnunet/src/dht/gnunet-service-dht_neighbours.c
   gnunet/src/dht/gnunet-service-dht_routing.c
Log:
- fix in monitoring, documentation, style

Modified: gnunet/src/dht/gnunet-service-dht_neighbours.c
===================================================================
--- gnunet/src/dht/gnunet-service-dht_neighbours.c      2013-03-01 00:12:59 UTC 
(rev 26236)
+++ gnunet/src/dht/gnunet-service-dht_neighbours.c      2013-03-01 02:20:04 UTC 
(rev 26237)
@@ -1644,17 +1644,18 @@
                                GNUNET_TIME_absolute_ntoh 
(put->expiration_time),
                                ntohl (put->hop_count), bf, &put->key, putlen,
                                pp, payload, payload_size);
+    /* notify monitoring clients */
+    GDS_CLIENTS_process_put (options,
+                             ntohl (put->type),
+                             ntohl (put->hop_count),
+                             ntohl (put->desired_replication_level),
+                             putlen, pp,
+                             GNUNET_TIME_absolute_ntoh (put->expiration_time),
+                             &put->key,
+                             payload,
+                             payload_size);
   }
   GNUNET_CONTAINER_bloomfilter_free (bf);
-  GDS_CLIENTS_process_put (options,
-                           ntohl (put->type),
-                           ntohl (put->hop_count),
-                           ntohl (put->desired_replication_level),
-                           putlen, put_path,
-                           GNUNET_TIME_absolute_ntoh (put->expiration_time),
-                           &put->key,
-                           payload,
-                           payload_size);
   return GNUNET_YES;
 }
 
@@ -1869,9 +1870,6 @@
     GNUNET_free (tmp);
   }
 
-
-
-  /* FIXME Path */
   GDS_CLIENTS_process_get (options,
                            type,
                            ntohl(get->hop_count),

Modified: gnunet/src/dht/gnunet-service-dht_routing.c
===================================================================
--- gnunet/src/dht/gnunet-service-dht_routing.c 2013-03-01 00:12:59 UTC (rev 
26236)
+++ gnunet/src/dht/gnunet-service-dht_routing.c 2013-03-01 02:20:04 UTC (rev 
26237)
@@ -264,7 +264,7 @@
  * @param key key for the content
  * @param put_path_length number of entries in put_path
  * @param put_path peers the original PUT traversed (if tracked)
- * @param get_path_length number of entries in put_path
+ * @param get_path_length number of entries in get_path
  * @param get_path peers this reply has traversed so far (if tracked)
  * @param data payload of the reply
  * @param data_size number of bytes in data




reply via email to

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