diff options
Diffstat (limited to 'src/arm/test_exponential_backoff.c')
-rw-r--r-- | src/arm/test_exponential_backoff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arm/test_exponential_backoff.c b/src/arm/test_exponential_backoff.c index c61bc2eec..7d8d771a2 100644 --- a/src/arm/test_exponential_backoff.c +++ b/src/arm/test_exponential_backoff.c | |||
@@ -250,7 +250,7 @@ kill_task (void *cbData, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
250 | } | 250 | } |
251 | else | 251 | else |
252 | { | 252 | { |
253 | waitedFor.rel_value = 0; | 253 | waitedFor.rel_value_us = 0; |
254 | } | 254 | } |
255 | /* Connect to the doNothing task */ | 255 | /* Connect to the doNothing task */ |
256 | doNothingConnection = GNUNET_CLIENT_connect ("do-nothing", cfg); | 256 | doNothingConnection = GNUNET_CLIENT_connect ("do-nothing", cfg); |
@@ -261,7 +261,7 @@ kill_task (void *cbData, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
261 | { | 261 | { |
262 | GNUNET_CLIENT_disconnect (doNothingConnection); | 262 | GNUNET_CLIENT_disconnect (doNothingConnection); |
263 | GNUNET_ARM_request_service_stop (arm, "do-nothing", TIMEOUT, NULL, NULL); | 263 | GNUNET_ARM_request_service_stop (arm, "do-nothing", TIMEOUT, NULL, NULL); |
264 | if (waitedFor_prev.rel_value >= waitedFor.rel_value) | 264 | if (waitedFor_prev.rel_value_us >= waitedFor.rel_value_us) |
265 | ok = 9; | 265 | ok = 9; |
266 | else | 266 | else |
267 | ok = 0; | 267 | ok = 0; |