From d66c82ae1328bf3d58e66d4643f610523a33498f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 5 Nov 2011 14:45:36 +0000 Subject: [PATCH] LRN: cosmetics --- src/include/gnunet_common.h | 2 +- src/transport/gnunet-service-transport.c | 2 +- src/transport/gnunet-service-transport_neighbours.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index 08c1f96c9..8f3ff8127 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h @@ -372,7 +372,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind); * we still want to see these problems during * development and testing. "OP == other peer". */ -#define GNUNET_break_op(cond) do { if (! (cond)) { GNUNET_log(GNUNET_ERROR_TYPE_WARNING, _("External protocol violation detected at %s:%d.\n"), __FILE__, __LINE__); } } while(0) +#define GNUNET_break_op(cond) do { if (! (cond)) { GNUNET_log(GNUNET_ERROR_TYPE_WARNING | GNUNET_ERROR_TYPE_BULK, _("External protocol violation detected at %s:%d.\n"), __FILE__, __LINE__); } } while(0) /** * Log an error message at log-level 'level' that indicates diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 878ab2618..30bcad806 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c @@ -215,7 +215,7 @@ plugin_env_receive_callback (void *cls, const struct GNUNET_PeerIdentity *peer, type = ntohs (message->type); #if DEBUG_TRANSPORT - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Received Message with type %u\n", type); + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Received Message with type %u\n", type); #endif switch (type) diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index 0ceba53bc..e0af12b3c 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c @@ -2029,7 +2029,7 @@ GST_neighbours_handle_connect_ack (const struct GNUNET_MessageHeader *message, sender_address_len, session, GNUNET_YES); #if DEBUG_TRANSPORT - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Setting inbound quota of %u for peer `%s' to \n", ntohl (n->bandwidth_in.value__), GNUNET_i2s (&n->id)); #endif -- 2.25.1