diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-08-09 15:55:48 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-08-09 15:55:48 +0000 |
commit | 5d74fb965c6d619c323789da837e05a4b9c5def4 (patch) | |
tree | fd3f119fa6717f16d5917ae6056137509ab7680d /src/mesh/mesh_api.c | |
parent | b4cff6524c9bb24cac04d748511d995f82e30e81 (diff) | |
download | gnunet-5d74fb965c6d619c323789da837e05a4b9c5def4.tar.gz gnunet-5d74fb965c6d619c323789da837e05a4b9c5def4.zip |
- use strings
Diffstat (limited to 'src/mesh/mesh_api.c')
-rw-r--r-- | src/mesh/mesh_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c index da233c00d..6bdc25695 100644 --- 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) | |||
1187 | reconnect (h); | 1187 | reconnect (h); |
1188 | return; | 1188 | return; |
1189 | } | 1189 | } |
1190 | LOG (GNUNET_ERROR_TYPE_DEBUG, "received a message type %hu from MESH\n", | 1190 | LOG (GNUNET_ERROR_TYPE_DEBUG, "received a message type %s from MESH\n", |
1191 | ntohs (msg->type)); | 1191 | GNUNET_MESH_DEBUG_M2S (ntohs (msg->type))); |
1192 | switch (ntohs (msg->type)) | 1192 | switch (ntohs (msg->type)) |
1193 | { | 1193 | { |
1194 | /* Notify of a new incoming tunnel */ | 1194 | /* Notify of a new incoming tunnel */ |
@@ -1217,7 +1217,7 @@ msg_received (void *cls, const struct GNUNET_MessageHeader *msg) | |||
1217 | default: | 1217 | default: |
1218 | /* We shouldn't get any other packages, log and ignore */ | 1218 | /* We shouldn't get any other packages, log and ignore */ |
1219 | LOG (GNUNET_ERROR_TYPE_WARNING, | 1219 | LOG (GNUNET_ERROR_TYPE_WARNING, |
1220 | "unsolicited message form service (type %d)\n", | 1220 | "unsolicited message form service (type %hu)\n", |
1221 | ntohs (msg->type)); | 1221 | ntohs (msg->type)); |
1222 | } | 1222 | } |
1223 | LOG (GNUNET_ERROR_TYPE_DEBUG, "message processed\n"); | 1223 | LOG (GNUNET_ERROR_TYPE_DEBUG, "message processed\n"); |