From: Bart Polot Date: Thu, 16 Aug 2012 17:03:19 +0000 (+0000) Subject: - Clean debug output X-Git-Tag: initial-import-from-subversion-38251~12184 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6b9285fcbf7e08d35da40aa839f73f6842bfe0c7;p=oweals%2Fgnunet.git - Clean debug output --- 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)) {