diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-12-21 14:11:07 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-12-21 14:11:07 +0000 |
commit | dbef81a62985492402945501fbce95b9af7827ad (patch) | |
tree | 076bbaed61345ac4a4f80891615f7da2e3a713ce /src | |
parent | 6aa204ba21269dfee08a3f1edc81c328e03642d4 (diff) | |
download | gnunet-dbef81a62985492402945501fbce95b9af7827ad.tar.gz gnunet-dbef81a62985492402945501fbce95b9af7827ad.zip |
fix
Diffstat (limited to 'src')
-rw-r--r-- | src/arm/test_exponential_backoff.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/arm/test_exponential_backoff.c b/src/arm/test_exponential_backoff.c index 8e5ac9bc1..3ece6339d 100644 --- a/src/arm/test_exponential_backoff.c +++ b/src/arm/test_exponential_backoff.c | |||
@@ -360,12 +360,9 @@ kill_task (void *cbData, | |||
360 | } | 360 | } |
361 | /* Connect to the doNothing task */ | 361 | /* Connect to the doNothing task */ |
362 | doNothingConnection = GNUNET_CLIENT_connect ("do-nothing", cfg); | 362 | doNothingConnection = GNUNET_CLIENT_connect ("do-nothing", cfg); |
363 | #if LOG_BACKOFF | 363 | GNUNET_assert (doNothingConnection != NULL); |
364 | if (NULL == doNothingConnection) | ||
365 | fprintf(killLogFilePtr, | ||
366 | "Unable to connect to do-nothing process!\n"); | ||
367 | #endif | ||
368 | if (trialCount == 12) { | 364 | if (trialCount == 12) { |
365 | GNUNET_CLIENT_disconnect (doNothingConnection, GNUNET_NO); | ||
369 | GNUNET_ARM_stop_service (arm, | 366 | GNUNET_ARM_stop_service (arm, |
370 | "do-nothing", | 367 | "do-nothing", |
371 | TIMEOUT, | 368 | TIMEOUT, |
@@ -373,7 +370,6 @@ kill_task (void *cbData, | |||
373 | ok = 0; | 370 | ok = 0; |
374 | return; | 371 | return; |
375 | } | 372 | } |
376 | |||
377 | /* Use the created connection to kill the doNothingTask */ | 373 | /* Use the created connection to kill the doNothingTask */ |
378 | arm_service_shutdown(doNothingConnection, | 374 | arm_service_shutdown(doNothingConnection, |
379 | TIMEOUT, | 375 | TIMEOUT, |