From 6b9285fcbf7e08d35da40aa839f73f6842bfe0c7 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 16 Aug 2012 17:03:19 +0000 Subject: [PATCH] - Clean debug output --- src/mesh/mesh_api.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c index d63ad315d..eeee8d415 100644 --- a/src/mesh/mesh_api.c +++ b/src/mesh/mesh_api.c @@ -1193,7 +1193,9 @@ msg_received (void *cls, const struct GNUNET_MessageHeader *msg) reconnect (h); return; } - LOG (GNUNET_ERROR_TYPE_DEBUG, "received a message: %s\n", + LOG (GNUNET_ERROR_TYPE_DEBUG, "\n", + GNUNET_MESH_DEBUG_M2S (ntohs (msg->type))); + LOG (GNUNET_ERROR_TYPE_DEBUG, "Received a message: %s\n", GNUNET_MESH_DEBUG_M2S (ntohs (msg->type))); switch (ntohs (msg->type)) { -- 2.25.1