remove debug stuff, make compilers happier
authorChristian Grothoff <christian@grothoff.org>
Tue, 9 Feb 2010 23:00:21 +0000 (23:00 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 9 Feb 2010 23:00:21 +0000 (23:00 +0000)
src/arm/arm.h
src/arm/test_arm_api_data.conf
src/arm/test_exponential_backoff.c

index 2f107351cf5c22ab17db3ca5b0e6210bba9355ec..562113068c3bd664803cc2b6e4622861d5ca1f72 100644 (file)
@@ -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
index 11c5e268579001aef16b6b2598c9c83f0ca0d493..bdacfd4761c18dd4490e7f6c06de3e047bde1b70 100644 (file)
@@ -7,7 +7,7 @@ PORT = 23354
 DEFAULTSERVICES =
 BINARY = gnunet-service-arm
 OPTIONS = -L ERROR
-DEBUG = YES
+#DEBUG = YES
 
 [resolver]
 #DEBUG = YES
index 92391ea40d0b0c61a982d380fce4fcade565551f..b5b363662f74ef1a4499789144619c432479f26d 100644 (file)
@@ -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,