aboutsummaryrefslogtreecommitdiff
path: root/src/rps/gnunet-rps.c
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2016-05-13 22:49:19 +0000
committerJulius Bünger <buenger@mytum.de>2016-05-13 22:49:19 +0000
commita4dc4b16eaa5101aba46168ad7d809a1f3086c0c (patch)
tree49dc7b49e2151732603e90372e31d7c8eba7faee /src/rps/gnunet-rps.c
parent366bac4c44f913bd26a1194e4d646e0cd3d2f31d (diff)
downloadgnunet-a4dc4b16eaa5101aba46168ad7d809a1f3086c0c.tar.gz
gnunet-a4dc4b16eaa5101aba46168ad7d809a1f3086c0c.zip
-rps: logging
Diffstat (limited to 'src/rps/gnunet-rps.c')
-rw-r--r--src/rps/gnunet-rps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rps/gnunet-rps.c b/src/rps/gnunet-rps.c
index 705c2c9b0..3dbb8053e 100644
--- a/src/rps/gnunet-rps.c
+++ b/src/rps/gnunet-rps.c
@@ -26,6 +26,7 @@
26#include "platform.h" 26#include "platform.h"
27#include "gnunet_util_lib.h" 27#include "gnunet_util_lib.h"
28#include "gnunet_rps_service.h" 28#include "gnunet_rps_service.h"
29#include <inttypes.h>
29 30
30static int ret; 31static int ret;
31 32
@@ -146,7 +147,7 @@ run (void *cls,
146 /* If number was specified use it, else request single peer. */ 147 /* If number was specified use it, else request single peer. */
147 num_peers = (NULL == args[0]) ? 1 : atoi (args[0]); 148 num_peers = (NULL == args[0]) ? 1 : atoi (args[0]);
148 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 149 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
149 "Requesting %u PeerIDs\n", num_peers); 150 "Requesting %" PRIu64 " PeerIDs\n", num_peers);
150 req_handle = GNUNET_RPS_request_peers (rps_handle, num_peers, reply_handle, NULL); 151 req_handle = GNUNET_RPS_request_peers (rps_handle, num_peers, reply_handle, NULL);
151 GNUNET_SCHEDULER_add_shutdown (&do_shutdown, NULL); 152 GNUNET_SCHEDULER_add_shutdown (&do_shutdown, NULL);
152 } 153 }