projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- use strings
[oweals/gnunet.git]
/
src
/
mesh
/
mesh_api.c
diff --git
a/src/mesh/mesh_api.c
b/src/mesh/mesh_api.c
index da233c00deaa614ba9a0c6b5711490cb5aa6f07c..6bdc2569508af09c37876b2aabb46e988428d5cf 100644
(file)
--- a/
src/mesh/mesh_api.c
+++ b/
src/mesh/mesh_api.c
@@
-1187,8
+1187,8
@@
msg_received (void *cls, const struct GNUNET_MessageHeader *msg)
reconnect (h);
return;
}
reconnect (h);
return;
}
- LOG (GNUNET_ERROR_TYPE_DEBUG, "received a message type %
hu
from MESH\n",
-
ntohs (msg->type
));
+ LOG (GNUNET_ERROR_TYPE_DEBUG, "received a message type %
s
from MESH\n",
+
GNUNET_MESH_DEBUG_M2S (ntohs (msg->type)
));
switch (ntohs (msg->type))
{
/* Notify of a new incoming tunnel */
switch (ntohs (msg->type))
{
/* Notify of a new incoming tunnel */
@@
-1217,7
+1217,7
@@
msg_received (void *cls, const struct GNUNET_MessageHeader *msg)
default:
/* We shouldn't get any other packages, log and ignore */
LOG (GNUNET_ERROR_TYPE_WARNING,
default:
/* We shouldn't get any other packages, log and ignore */
LOG (GNUNET_ERROR_TYPE_WARNING,
- "unsolicited message form service (type %
d
)\n",
+ "unsolicited message form service (type %
hu
)\n",
ntohs (msg->type));
}
LOG (GNUNET_ERROR_TYPE_DEBUG, "message processed\n");
ntohs (msg->type));
}
LOG (GNUNET_ERROR_TYPE_DEBUG, "message processed\n");