gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r10267 - gnunet/src/arm


From: gnunet
Subject: [GNUnet-SVN] r10267 - gnunet/src/arm
Date: Wed, 10 Feb 2010 00:00:21 +0100

Author: grothoff
Date: 2010-02-10 00:00:21 +0100 (Wed, 10 Feb 2010)
New Revision: 10267

Modified:
   gnunet/src/arm/arm.h
   gnunet/src/arm/test_arm_api_data.conf
   gnunet/src/arm/test_exponential_backoff.c
Log:
remove debug stuff, make compilers happier

Modified: gnunet/src/arm/arm.h
===================================================================
--- gnunet/src/arm/arm.h        2010-02-09 22:46:04 UTC (rev 10266)
+++ gnunet/src/arm/arm.h        2010-02-09 23:00:21 UTC (rev 10267)
@@ -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

Modified: gnunet/src/arm/test_arm_api_data.conf
===================================================================
--- gnunet/src/arm/test_arm_api_data.conf       2010-02-09 22:46:04 UTC (rev 
10266)
+++ gnunet/src/arm/test_arm_api_data.conf       2010-02-09 23:00:21 UTC (rev 
10267)
@@ -7,7 +7,7 @@
 DEFAULTSERVICES =
 BINARY = gnunet-service-arm
 OPTIONS = -L ERROR
-DEBUG = YES
+#DEBUG = YES
 
 [resolver]
 #DEBUG = YES

Modified: gnunet/src/arm/test_exponential_backoff.c
===================================================================
--- gnunet/src/arm/test_exponential_backoff.c   2010-02-09 22:46:04 UTC (rev 
10266)
+++ gnunet/src/arm/test_exponential_backoff.c   2010-02-09 23:00:21 UTC (rev 
10267)
@@ -134,6 +134,8 @@
            "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 @@
   /* 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,





reply via email to

[Prev in Thread] Current Thread [Next in Thread]