- Added missing parameter
authorBart Polot <bart@net.in.tum.de>
Mon, 20 Feb 2012 10:21:19 +0000 (10:21 +0000)
committerBart Polot <bart@net.in.tum.de>
Mon, 20 Feb 2012 10:21:19 +0000 (10:21 +0000)
src/dht/gnunet-service-dht_clients.c
src/dht/gnunet-service-dht_clients.h

index af9a869d4752d2d6b5342e1e192cfe7399b546c8..d7d1161d24948f5f8b871c7d75403b7c196f8bbc 100644 (file)
@@ -1051,6 +1051,7 @@ GDS_CLIENTS_process_monitor (uint16_t mtype,
                              uint32_t getl,
                              const struct GNUNET_PeerIdentity *get_path,
                              uint32_t replevel,
+                             uint32_t desired_replication_level,
                              enum GNUNET_BLOCK_Type type,
                              const struct GNUNET_MessageHeader *data,
                              uint16_t size)
@@ -1094,6 +1095,7 @@ GDS_CLIENTS_process_monitor (uint16_t mtype,
       memcpy (&mmsg->key, key, sizeof (GNUNET_HashCode));
       mmsg->put_path_length = htonl(putl);
       mmsg->get_path_length = htonl(getl);
+      mmsg->desired_replication_level = htonl (desired_replication_level);
       path = (struct GNUNET_PeerIdentity *) &mmsg[1];
       if (putl > 0)
       {
index 914ba1f613d48e428e7c512ca030902936d432e6..512a00ac3399421704767fa9e0da35be2b0a5d04 100644 (file)
@@ -81,6 +81,7 @@ GDS_CLIENTS_process_monitor (uint16_t mtype,
                              uint32_t getl,
                              const struct GNUNET_PeerIdentity *get_path,
                              uint32_t replevel,
+                             uint32_t desired_replication_level,
                              enum GNUNET_BLOCK_Type type,
                              const struct GNUNET_MessageHeader *data,
                              uint16_t size);