diff options
author | Julius Bünger <buenger@mytum.de> | 2015-01-18 03:23:23 +0000 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2015-01-18 03:23:23 +0000 |
commit | e993426d1447a693c96920beb5bb469f78f1fdae (patch) | |
tree | 79fdf17dcf8be4b17daa3708330df05cd33ca00a /src/rps | |
parent | 42efb9525e1ed4a389b9bbd2c2ef9900e6f7f7a6 (diff) | |
download | gnunet-e993426d1447a693c96920beb5bb469f78f1fdae.tar.gz gnunet-e993426d1447a693c96920beb5bb469f78f1fdae.zip |
fixed message size
Diffstat (limited to 'src/rps')
-rw-r--r-- | src/rps/rps_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rps/rps_api.c b/src/rps/rps_api.c index 9d6183103..cb377e840 100644 --- a/src/rps/rps_api.c +++ b/src/rps/rps_api.c | |||
@@ -193,7 +193,7 @@ GNUNET_RPS_connect (const struct GNUNET_CONFIGURATION_Handle *cfg) | |||
193 | * @return a handle to cancel this request | 193 | * @return a handle to cancel this request |
194 | */ | 194 | */ |
195 | struct GNUNET_RPS_Request_Handle * | 195 | struct GNUNET_RPS_Request_Handle * |
196 | GNUNET_RPS_request_peers (struct GNUNET_RPS_Handle *h, uint64_t n, | 196 | GNUNET_RPS_request_peers (struct GNUNET_RPS_Handle *h, uint32_t n, |
197 | GNUNET_RPS_NotifyReadyCB ready_cb, | 197 | GNUNET_RPS_NotifyReadyCB ready_cb, |
198 | void *cls) | 198 | void *cls) |
199 | { | 199 | { |
@@ -212,7 +212,7 @@ GNUNET_RPS_request_peers (struct GNUNET_RPS_Handle *h, uint64_t n, | |||
212 | //memcpy(&req_handlers[req_handlers_size-1], rh, sizeof(struct GNUNET_RPS_Request_Handle)); | 212 | //memcpy(&req_handlers[req_handlers_size-1], rh, sizeof(struct GNUNET_RPS_Request_Handle)); |
213 | 213 | ||
214 | ev = GNUNET_MQ_msg (msg, GNUNET_MESSAGE_TYPE_RPS_CS_REQUEST); | 214 | ev = GNUNET_MQ_msg (msg, GNUNET_MESSAGE_TYPE_RPS_CS_REQUEST); |
215 | msg->num_peers = GNUNET_htonll (n); | 215 | msg->num_peers = htonl (n); |
216 | msg->n = rh->n; | 216 | msg->n = rh->n; |
217 | GNUNET_MQ_send (h->mq, ev); | 217 | GNUNET_MQ_send (h->mq, ev); |
218 | return rh; | 218 | return rh; |