aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-02-09 23:00:21 +0000
committerChristian Grothoff <christian@grothoff.org>2010-02-09 23:00:21 +0000
commit275e265a199ce71fd2eeffb80c99297c577734d4 (patch)
treead6915e3fac99c3faa1d1e6dcf087efbdfc3819f /src
parent11e453dd5eb1fc7485f11cbe4ee36bffd444fcc5 (diff)
downloadgnunet-275e265a199ce71fd2eeffb80c99297c577734d4.tar.gz
gnunet-275e265a199ce71fd2eeffb80c99297c577734d4.zip
remove debug stuff, make compilers happier
Diffstat (limited to 'src')
-rw-r--r--src/arm/arm.h2
-rw-r--r--src/arm/test_arm_api_data.conf2
-rw-r--r--src/arm/test_exponential_backoff.c4
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 @@
31 * This option will turn on the DEBUG loglevel for 31 * This option will turn on the DEBUG loglevel for
32 * all processes controlled by this ARM! 32 * all processes controlled by this ARM!
33 */ 33 */
34#define DEBUG_ARM GNUNET_YES 34#define DEBUG_ARM GNUNET_NO
35 35
36#endif 36#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
7DEFAULTSERVICES = 7DEFAULTSERVICES =
8BINARY = gnunet-service-arm 8BINARY = gnunet-service-arm
9OPTIONS = -L ERROR 9OPTIONS = -L ERROR
10DEBUG = YES 10#DEBUG = YES
11 11
12[resolver] 12[resolver]
13#DEBUG = YES 13#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,
134 "Waited for: %llu ms\n\n", 134 "Waited for: %llu ms\n\n",
135 (unsigned long long) waitedFor.value); 135 (unsigned long long) waitedFor.value);
136 } 136 }
137 else
138 waitedFor.value = 0;
137 /* Connect to the doNothing task */ 139 /* Connect to the doNothing task */
138 doNothingConnection = GNUNET_CLIENT_connect (sched, "do-nothing", cfg); 140 doNothingConnection = GNUNET_CLIENT_connect (sched, "do-nothing", cfg);
139 if (NULL == doNothingConnection) 141 if (NULL == doNothingConnection)
@@ -152,8 +154,6 @@ kill_task (void *cbData,
152 /* Use the created connection to kill the doNothingTask */ 154 /* Use the created connection to kill the doNothingTask */
153 GNUNET_CLIENT_service_shutdown(doNothingConnection); 155 GNUNET_CLIENT_service_shutdown(doNothingConnection);
154 trialCount++; 156 trialCount++;
155 if (startedWaitingAt.value == 0)
156 waitedFor.value = 0;
157 startedWaitingAt = GNUNET_TIME_absolute_get(); 157 startedWaitingAt = GNUNET_TIME_absolute_get();
158 GNUNET_SCHEDULER_add_delayed (sched, 158 GNUNET_SCHEDULER_add_delayed (sched,
159 waitedFor, 159 waitedFor,