diff options
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/perf_gnunet_service_fs_p2p.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/fs/perf_gnunet_service_fs_p2p.c b/src/fs/perf_gnunet_service_fs_p2p.c index 5211beef8..316fdbd8a 100644 --- a/src/fs/perf_gnunet_service_fs_p2p.c +++ b/src/fs/perf_gnunet_service_fs_p2p.c | |||
@@ -267,10 +267,12 @@ do_report (void *cls) | |||
267 | fancy = | 267 | fancy = |
268 | GNUNET_STRINGS_byte_size_fancy (((unsigned long long) FILESIZE) * | 268 | GNUNET_STRINGS_byte_size_fancy (((unsigned long long) FILESIZE) * |
269 | 1000000LL / del.rel_value_us); | 269 | 1000000LL / del.rel_value_us); |
270 | FPRINTF (stdout, "Download speed was %s/s\n", fancy); | 270 | FPRINTF (stdout, |
271 | "Download speed was %s/s\n", | ||
272 | fancy); | ||
271 | GNUNET_free (fancy); | 273 | GNUNET_free (fancy); |
272 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Finished download, shutting down\n", | 274 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
273 | (unsigned long long) FILESIZE); | 275 | "Finished download, shutting down\n"); |
274 | sm = GNUNET_new (struct StatMaster); | 276 | sm = GNUNET_new (struct StatMaster); |
275 | sm->op = | 277 | sm->op = |
276 | GNUNET_TESTBED_service_connect (NULL, | 278 | GNUNET_TESTBED_service_connect (NULL, |
@@ -291,7 +293,7 @@ do_download (void *cls, | |||
291 | int anonymity; | 293 | int anonymity; |
292 | 294 | ||
293 | if (NULL == uri) | 295 | if (NULL == uri) |
294 | { | 296 | { |
295 | GNUNET_SCHEDULER_shutdown (); | 297 | GNUNET_SCHEDULER_shutdown (); |
296 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 298 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
297 | "Timeout during upload attempt, shutting down with error\n"); | 299 | "Timeout during upload attempt, shutting down with error\n"); |