[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r11586 - gnunet/src/core
From: |
gnunet |
Subject: |
[GNUnet-SVN] r11586 - gnunet/src/core |
Date: |
Tue, 1 Jun 2010 00:13:59 +0200 |
Author: grothoff
Date: 2010-06-01 00:13:59 +0200 (Tue, 01 Jun 2010)
New Revision: 11586
Modified:
gnunet/src/core/test_core_api_peer1.conf
gnunet/src/core/test_core_api_peer2.conf
gnunet/src/core/test_core_api_reliability.c
Log:
done for now
Modified: gnunet/src/core/test_core_api_peer1.conf
===================================================================
--- gnunet/src/core/test_core_api_peer1.conf 2010-05-31 22:08:01 UTC (rev
11585)
+++ gnunet/src/core/test_core_api_peer1.conf 2010-05-31 22:13:59 UTC (rev
11586)
@@ -41,7 +41,7 @@
#OPTIONS = -l log-core-1
#PREFIX = xterm -e xterm -T core1 -e gdb --args
#PREFIX = xterm -T core1 -e
-DEBUG = YES
+#DEBUG = YES
#BINARY=/home/grothoff/bin/gnunet-service-core
[testing]
Modified: gnunet/src/core/test_core_api_peer2.conf
===================================================================
--- gnunet/src/core/test_core_api_peer2.conf 2010-05-31 22:08:01 UTC (rev
11585)
+++ gnunet/src/core/test_core_api_peer2.conf 2010-05-31 22:13:59 UTC (rev
11586)
@@ -39,7 +39,7 @@
PORT = 22470
#PREFIX = xterm -T core2 -e
#PREFIX = valgrind --tool=memcheck
-DEBUG = YES
+#DEBUG = YES
#BINARY=/home/grothoff/bin/gnunet-service-core
[testing]
Modified: gnunet/src/core/test_core_api_reliability.c
===================================================================
--- gnunet/src/core/test_core_api_reliability.c 2010-05-31 22:08:01 UTC (rev
11585)
+++ gnunet/src/core/test_core_api_reliability.c 2010-05-31 22:13:59 UTC (rev
11586)
@@ -35,7 +35,7 @@
#include "gnunet_scheduler_lib.h"
#include "gnunet_transport_service.h"
-#define VERBOSE GNUNET_YES
+#define VERBOSE GNUNET_NO
#define START_ARM GNUNET_YES
@@ -180,8 +180,10 @@
struct GNUNET_TIME_Relative latency,
uint32_t distance)
{
+#if VERBOSE
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Core provides inbound data from `%4s'.\n", GNUNET_i2s (other));
+#endif
return GNUNET_OK;
}
@@ -193,9 +195,11 @@
struct GNUNET_TIME_Relative latency,
uint32_t distance)
{
+#if VERBOSE
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Core notifies about outbound data for `%4s'.\n",
GNUNET_i2s (other));
+#endif
return GNUNET_OK;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r11586 - gnunet/src/core,
gnunet <=