From: Bart Polot Date: Mon, 20 Feb 2012 10:21:19 +0000 (+0000) Subject: - Added missing parameter X-Git-Tag: initial-import-from-subversion-38251~14805 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=26033f6c606bb1bb04872de7f2e85cb8c334d773;p=oweals%2Fgnunet.git - Added missing parameter --- diff --git a/src/dht/gnunet-service-dht_clients.c b/src/dht/gnunet-service-dht_clients.c index af9a869d4..d7d1161d2 100644 --- a/src/dht/gnunet-service-dht_clients.c +++ b/src/dht/gnunet-service-dht_clients.c @@ -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) { diff --git a/src/dht/gnunet-service-dht_clients.h b/src/dht/gnunet-service-dht_clients.h index 914ba1f61..512a00ac3 100644 --- a/src/dht/gnunet-service-dht_clients.h +++ b/src/dht/gnunet-service-dht_clients.h @@ -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);