aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo
diff options
context:
space:
mode:
Diffstat (limited to 'src/peerinfo')
-rwxr-xr-xsrc/peerinfo/perf_peerinfo_api.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/peerinfo/perf_peerinfo_api.c b/src/peerinfo/perf_peerinfo_api.c
index 38bbb828f..e69b487d5 100755
--- a/src/peerinfo/perf_peerinfo_api.c
+++ b/src/peerinfo/perf_peerinfo_api.c
@@ -56,7 +56,7 @@ check_it (void *cls, const struct GNUNET_HELLO_Address *address,
56#if DEBUG 56#if DEBUG
57 if (addrlen > 0) 57 if (addrlen > 0)
58 { 58 {
59 fprintf (stderr, "name: %s, addr: %s\n", tname, (const char *) addr); 59 FPRINTF (stderr, "name: %s, addr: %s\n", tname, (const char *) addr);
60 } 60 }
61#endif 61#endif
62 return GNUNET_OK; 62 return GNUNET_OK;
@@ -110,13 +110,13 @@ process (void *cls, const struct GNUNET_PeerIdentity *peer,
110 if (peer == NULL) 110 if (peer == NULL)
111 { 111 {
112#if DEBUG 112#if DEBUG
113 fprintf (stderr, "Process received NULL response\n"); 113 FPRINTF (stderr, "Process received NULL response\n");
114#endif 114#endif
115 } 115 }
116 else 116 else
117 { 117 {
118#if DEBUG 118#if DEBUG
119 fprintf (stderr, "Processed a peer\n"); 119 FPRINTF (stderr, "Processed a peer\n");
120#endif 120#endif
121 numpeers++; 121 numpeers++;
122 if (0 && (hello != NULL)) 122 if (0 && (hello != NULL))
@@ -179,7 +179,7 @@ check ()
179 GNUNET_assert (NULL != proc); 179 GNUNET_assert (NULL != proc);
180 GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1, argv, 180 GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1, argv,
181 "perf-peerinfo-api", "nohelp", options, &run, &ok); 181 "perf-peerinfo-api", "nohelp", options, &run, &ok);
182 fprintf (stderr, "Received %u/%u calls before timeout\n", numpeers, 182 FPRINTF (stderr, "Received %u/%u calls before timeout\n", numpeers,
183 NUM_REQUESTS * NUM_REQUESTS / 2); 183 NUM_REQUESTS * NUM_REQUESTS / 2);
184 GAUGER ("PEERINFO", "Peerinfo lookups", numpeers / 30, "peers/s"); 184 GAUGER ("PEERINFO", "Peerinfo lookups", numpeers / 30, "peers/s");
185#if START_SERVICE 185#if START_SERVICE