gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r10263 - gnunet/src/arm
Date: Tue, 9 Feb 2010 21:18:04 +0100

Author: grothoff
Date: 2010-02-09 21:18:04 +0100 (Tue, 09 Feb 2010)
New Revision: 10263

Modified:
   gnunet/src/arm/arm.h
   gnunet/src/arm/gnunet-service-arm.c
   gnunet/src/arm/test_arm_api_data.conf
   gnunet/src/arm/test_exponential_backoff.c
Log:
debug stuff

Modified: gnunet/src/arm/arm.h
===================================================================
--- gnunet/src/arm/arm.h        2010-02-09 19:44:35 UTC (rev 10262)
+++ gnunet/src/arm/arm.h        2010-02-09 20:18:04 UTC (rev 10263)
@@ -31,6 +31,6 @@
  * This option will turn on the DEBUG loglevel for
  * all processes controlled by this ARM!
  */
-#define DEBUG_ARM GNUNET_NO
+#define DEBUG_ARM GNUNET_YES
 
 #endif

Modified: gnunet/src/arm/gnunet-service-arm.c
===================================================================
--- gnunet/src/arm/gnunet-service-arm.c 2010-02-09 19:44:35 UTC (rev 10262)
+++ gnunet/src/arm/gnunet-service-arm.c 2010-02-09 20:18:04 UTC (rev 10263)
@@ -240,6 +240,11 @@
                  _("Could not send status result to client\n"));
       return 0;                        /* error, not much we can do */
     }
+#if DEBUG_ARM
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+             "Sending status response %u to client\n",
+             (unsigned int) *res);
+#endif
   GNUNET_assert (size >= sizeof (struct GNUNET_MessageHeader));
   msg = buf;
   msg->size = htons (sizeof (struct GNUNET_MessageHeader));
@@ -856,6 +861,7 @@
          prev = pos;
          continue;
        }
+
       if (statusType == GNUNET_OS_PROCESS_EXITED)
        {
          statstr = _( /* process termination method */ "exit");

Modified: gnunet/src/arm/test_arm_api_data.conf
===================================================================
--- gnunet/src/arm/test_arm_api_data.conf       2010-02-09 19:44:35 UTC (rev 
10262)
+++ gnunet/src/arm/test_arm_api_data.conf       2010-02-09 20:18:04 UTC (rev 
10263)
@@ -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 19:44:35 UTC (rev 
10262)
+++ gnunet/src/arm/test_exponential_backoff.c   2010-02-09 20:18:04 UTC (rev 
10263)
@@ -27,7 +27,7 @@
 #include "gnunet_configuration_lib.h"
 #include "gnunet_program_lib.h"
 
-#define VERBOSE GNUNET_NO
+#define VERBOSE GNUNET_YES
 #define START_ARM GNUNET_YES
 #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10)
 #define SERVICE_TEST_TIMEOUT GNUNET_TIME_UNIT_FOREVER_REL





reply via email to

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