diff options
Diffstat (limited to 'src/fs/test_gnunet_service_fs_migration.c')
-rw-r--r-- | src/fs/test_gnunet_service_fs_migration.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/test_gnunet_service_fs_migration.c b/src/fs/test_gnunet_service_fs_migration.c index 8b85e5e73..00aab4f42 100644 --- a/src/fs/test_gnunet_service_fs_migration.c +++ b/src/fs/test_gnunet_service_fs_migration.c | |||
@@ -66,7 +66,7 @@ do_stop (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
66 | cc = NULL; | 66 | cc = NULL; |
67 | } | 67 | } |
68 | GNUNET_FS_TEST_daemons_stop (2, daemons); | 68 | GNUNET_FS_TEST_daemons_stop (2, daemons); |
69 | if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_PREREQ_DONE)) | 69 | if (0 == (tc->reason & GNUNET_SCHEDULER_REASON_TIMEOUT)) |
70 | { | 70 | { |
71 | del = GNUNET_TIME_absolute_get_duration (start_time); | 71 | del = GNUNET_TIME_absolute_get_duration (start_time); |
72 | if (del.rel_value == 0) | 72 | if (del.rel_value == 0) |
@@ -146,7 +146,7 @@ static void | |||
146 | do_publish (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 146 | do_publish (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) |
147 | { | 147 | { |
148 | cc = NULL; | 148 | cc = NULL; |
149 | if (0 == (tc->reason & GNUNET_SCHEDULER_REASON_PREREQ_DONE)) | 149 | if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_TIMEOUT)) |
150 | { | 150 | { |
151 | GNUNET_FS_TEST_daemons_stop (2, daemons); | 151 | GNUNET_FS_TEST_daemons_stop (2, daemons); |
152 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 152 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |