aboutsummaryrefslogtreecommitdiff
path: root/src/fs/perf_gnunet_service_fs_p2p_respect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/perf_gnunet_service_fs_p2p_respect.c')
-rw-r--r--src/fs/perf_gnunet_service_fs_p2p_respect.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fs/perf_gnunet_service_fs_p2p_respect.c b/src/fs/perf_gnunet_service_fs_p2p_respect.c
index 6b70afbf5..01f8dbe26 100644
--- a/src/fs/perf_gnunet_service_fs_p2p_respect.c
+++ b/src/fs/perf_gnunet_service_fs_p2p_respect.c
@@ -287,7 +287,9 @@ do_report (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
287 char *fancy; 287 char *fancy;
288 struct StatMaster *sm; 288 struct StatMaster *sm;
289 289
290 if (0 == (tc->reason & GNUNET_SCHEDULER_REASON_PREREQ_DONE)) 290 if (0 ==
291 GNUNET_TIME_absolute_get_remaining (GNUNET_TIME_absolute_add (start_time,
292 TIMEOUT)).rel_value_us)
291 { 293 {
292 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 294 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
293 "Timeout during download for type `%s', shutting down with error\n", 295 "Timeout during download for type `%s', shutting down with error\n",
@@ -362,7 +364,7 @@ do_downloads (void *cls, const struct GNUNET_FS_Uri *u2,
362 364
363 365
364static void 366static void
365do_publish2 (void *cls, 367do_publish2 (void *cls,
366 const struct GNUNET_FS_Uri *u1, 368 const struct GNUNET_FS_Uri *u1,
367 const char *fn) 369 const char *fn)
368{ 370{