aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-11-01 22:44:28 +0000
committerChristian Grothoff <christian@grothoff.org>2010-11-01 22:44:28 +0000
commitbdef044d942a5f75f698bef989a1e768e79d2976 (patch)
tree59ef3e1b4158bb1ab76af5d88df503a69f5ab3be /src/core
parente9cf3782a3c5c2bcf6bdeff58b8a3536585791eb (diff)
downloadgnunet-bdef044d942a5f75f698bef989a1e768e79d2976.tar.gz
gnunet-bdef044d942a5f75f698bef989a1e768e79d2976.zip
fixes from LRN for DEBUG code
Diffstat (limited to 'src/core')
-rw-r--r--src/core/gnunet-service-core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/gnunet-service-core.c b/src/core/gnunet-service-core.c
index 5e71ef897..767041087 100644
--- a/src/core/gnunet-service-core.c
+++ b/src/core/gnunet-service-core.c
@@ -42,9 +42,9 @@
42#include "core.h" 42#include "core.h"
43 43
44 44
45#define DEBUG_HANDSHAKE GNUNET_NO 45#define DEBUG_HANDSHAKE GNUNET_YES
46 46
47#define DEBUG_CORE_QUOTA GNUNET_NO 47#define DEBUG_CORE_QUOTA GNUNET_YES
48 48
49/** 49/**
50 * Receive and send buffer windows grow over time. For 50 * Receive and send buffer windows grow over time. For
@@ -3540,7 +3540,7 @@ handle_encrypted_message (struct Neighbour *n,
3540#if DEBUG_CORE_SET_QUOTA 3540#if DEBUG_CORE_SET_QUOTA
3541 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 3541 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
3542 "Received %u b/s as new inbound limit for peer `%4s'\n", 3542 "Received %u b/s as new inbound limit for peer `%4s'\n",
3543 (unsigned int) ntohl (pt->inbound_bw_limit.rel_value__), 3543 (unsigned int) ntohl (pt->inbound_bw_limit.value__),
3544 GNUNET_i2s (&n->peer)); 3544 GNUNET_i2s (&n->peer));
3545#endif 3545#endif
3546 n->bw_out_external_limit = pt->inbound_bw_limit; 3546 n->bw_out_external_limit = pt->inbound_bw_limit;