From: Nathan S. Evans Date: Mon, 8 Feb 2010 11:31:53 +0000 (+0000) Subject: remove debugging flags X-Git-Tag: initial-import-from-subversion-38251~22765 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c52a4ce665a6061bd6224c3fe4cccb0bf648ced4;p=oweals%2Fgnunet.git remove debugging flags --- diff --git a/src/core/gnunet-service-core.c b/src/core/gnunet-service-core.c index a00833239..59573525b 100644 --- a/src/core/gnunet-service-core.c +++ b/src/core/gnunet-service-core.c @@ -41,7 +41,7 @@ #include "core.h" -#define DEBUG_HANDSHAKE 1 +#define DEBUG_HANDSHAKE GNUNET_NO /** * Receive and send buffer windows grow over time. For @@ -1020,10 +1020,7 @@ notify_encrypted_transmit_ready (void *cls, size_t size, void *buf) ret = m->size; n->available_send_window -= m->size; process_encrypted_neighbour_queue (n); - GNUNET_log (GNUNET_ERROR_TYPE_WARNING, - "Copied message of type %u and size %u into transport buffer for `%4s'\n", - ntohs (((struct GNUNET_MessageHeader *) &m[1])->type), - ret, GNUNET_i2s (&n->peer)); + #if DEBUG_CORE GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Copied message of type %u and size %u into transport buffer for `%4s'\n",