From 275e265a199ce71fd2eeffb80c99297c577734d4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 9 Feb 2010 23:00:21 +0000 Subject: [PATCH] remove debug stuff, make compilers happier --- src/arm/arm.h | 2 +- src/arm/test_arm_api_data.conf | 2 +- src/arm/test_exponential_backoff.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/arm/arm.h b/src/arm/arm.h index 2f107351c..562113068 100644 --- a/src/arm/arm.h +++ b/src/arm/arm.h @@ -31,6 +31,6 @@ * This option will turn on the DEBUG loglevel for * all processes controlled by this ARM! */ -#define DEBUG_ARM GNUNET_YES +#define DEBUG_ARM GNUNET_NO #endif diff --git a/src/arm/test_arm_api_data.conf b/src/arm/test_arm_api_data.conf index 11c5e2685..bdacfd476 100644 --- a/src/arm/test_arm_api_data.conf +++ b/src/arm/test_arm_api_data.conf @@ -7,7 +7,7 @@ PORT = 23354 DEFAULTSERVICES = BINARY = gnunet-service-arm OPTIONS = -L ERROR -DEBUG = YES +#DEBUG = YES [resolver] #DEBUG = YES diff --git a/src/arm/test_exponential_backoff.c b/src/arm/test_exponential_backoff.c index 92391ea40..b5b363662 100644 --- a/src/arm/test_exponential_backoff.c +++ b/src/arm/test_exponential_backoff.c @@ -134,6 +134,8 @@ kill_task (void *cbData, "Waited for: %llu ms\n\n", (unsigned long long) waitedFor.value); } + else + waitedFor.value = 0; /* Connect to the doNothing task */ doNothingConnection = GNUNET_CLIENT_connect (sched, "do-nothing", cfg); if (NULL == doNothingConnection) @@ -152,8 +154,6 @@ kill_task (void *cbData, /* Use the created connection to kill the doNothingTask */ GNUNET_CLIENT_service_shutdown(doNothingConnection); trialCount++; - if (startedWaitingAt.value == 0) - waitedFor.value = 0; startedWaitingAt = GNUNET_TIME_absolute_get(); GNUNET_SCHEDULER_add_delayed (sched, waitedFor, -- 2.25.1