projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68c5321
)
- Clean debug output
author
Bart Polot
<bart@net.in.tum.de>
Thu, 16 Aug 2012 17:03:19 +0000
(17:03 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Thu, 16 Aug 2012 17:03:19 +0000
(17:03 +0000)
src/mesh/mesh_api.c
patch
|
blob
|
history
diff --git
a/src/mesh/mesh_api.c
b/src/mesh/mesh_api.c
index d63ad315d1e35d1353a4fa89a7f2c352ae939580..eeee8d415f654478cbdf09609dbde67812d149bf 100644
(file)
--- 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))
{