diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-02-20 10:21:19 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-02-20 10:21:19 +0000 |
commit | 26033f6c606bb1bb04872de7f2e85cb8c334d773 (patch) | |
tree | 9ae39efd68c03ea66d4500b3c7e69a5b5d12af28 /src/dht | |
parent | 6a5daa39f8ee2ce0359a29d761bc5b893e9b3dfa (diff) | |
download | gnunet-26033f6c606bb1bb04872de7f2e85cb8c334d773.tar.gz gnunet-26033f6c606bb1bb04872de7f2e85cb8c334d773.zip |
- Added missing parameter
Diffstat (limited to 'src/dht')
-rw-r--r-- | src/dht/gnunet-service-dht_clients.c | 2 | ||||
-rw-r--r-- | src/dht/gnunet-service-dht_clients.h | 1 |
2 files changed, 3 insertions, 0 deletions
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, | |||
1051 | uint32_t getl, | 1051 | uint32_t getl, |
1052 | const struct GNUNET_PeerIdentity *get_path, | 1052 | const struct GNUNET_PeerIdentity *get_path, |
1053 | uint32_t replevel, | 1053 | uint32_t replevel, |
1054 | uint32_t desired_replication_level, | ||
1054 | enum GNUNET_BLOCK_Type type, | 1055 | enum GNUNET_BLOCK_Type type, |
1055 | const struct GNUNET_MessageHeader *data, | 1056 | const struct GNUNET_MessageHeader *data, |
1056 | uint16_t size) | 1057 | uint16_t size) |
@@ -1094,6 +1095,7 @@ GDS_CLIENTS_process_monitor (uint16_t mtype, | |||
1094 | memcpy (&mmsg->key, key, sizeof (GNUNET_HashCode)); | 1095 | memcpy (&mmsg->key, key, sizeof (GNUNET_HashCode)); |
1095 | mmsg->put_path_length = htonl(putl); | 1096 | mmsg->put_path_length = htonl(putl); |
1096 | mmsg->get_path_length = htonl(getl); | 1097 | mmsg->get_path_length = htonl(getl); |
1098 | mmsg->desired_replication_level = htonl (desired_replication_level); | ||
1097 | path = (struct GNUNET_PeerIdentity *) &mmsg[1]; | 1099 | path = (struct GNUNET_PeerIdentity *) &mmsg[1]; |
1098 | if (putl > 0) | 1100 | if (putl > 0) |
1099 | { | 1101 | { |
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, | |||
81 | uint32_t getl, | 81 | uint32_t getl, |
82 | const struct GNUNET_PeerIdentity *get_path, | 82 | const struct GNUNET_PeerIdentity *get_path, |
83 | uint32_t replevel, | 83 | uint32_t replevel, |
84 | uint32_t desired_replication_level, | ||
84 | enum GNUNET_BLOCK_Type type, | 85 | enum GNUNET_BLOCK_Type type, |
85 | const struct GNUNET_MessageHeader *data, | 86 | const struct GNUNET_MessageHeader *data, |
86 | uint16_t size); | 87 | uint16_t size); |