diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-02-19 20:02:18 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-02-19 20:02:18 +0000 |
commit | e08eed589810b54828db183b6cfb329b6562fab6 (patch) | |
tree | 3092a83b764e7f2832f3b8a9d9b9f426efde2477 /src | |
parent | e1397b0d80f71df25574e2d5561b43a0c86a5acc (diff) | |
download | gnunet-e08eed589810b54828db183b6cfb329b6562fab6.tar.gz gnunet-e08eed589810b54828db183b6cfb329b6562fab6.zip |
- fix log messages
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/gnunet-service-mesh_connection.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesh/gnunet-service-mesh_connection.c b/src/mesh/gnunet-service-mesh_connection.c index 59b4f4a4b..b09858591 100644 --- a/src/mesh/gnunet-service-mesh_connection.c +++ b/src/mesh/gnunet-service-mesh_connection.c | |||
@@ -1451,8 +1451,7 @@ static void | |||
1451 | log_message (const struct GNUNET_MessageHeader *message, | 1451 | log_message (const struct GNUNET_MessageHeader *message, |
1452 | const struct GNUNET_PeerIdentity *peer) | 1452 | const struct GNUNET_PeerIdentity *peer) |
1453 | { | 1453 | { |
1454 | LOG (GNUNET_ERROR_TYPE_DEBUG, "\n\n"); | 1454 | LOG (GNUNET_ERROR_TYPE_INFO, "<- %s from %s\n", |
1455 | LOG (GNUNET_ERROR_TYPE_INFO, "Got a %s message from %s\n", | ||
1456 | GM_m2s (ntohs (message->type)), GNUNET_i2s (peer)); | 1455 | GM_m2s (ntohs (message->type)), GNUNET_i2s (peer)); |
1457 | } | 1456 | } |
1458 | 1457 | ||
@@ -2814,7 +2813,7 @@ GMC_send_prebuilt_message (const struct GNUNET_MessageHeader *message, | |||
2814 | data = GNUNET_malloc (size); | 2813 | data = GNUNET_malloc (size); |
2815 | memcpy (data, message, size); | 2814 | memcpy (data, message, size); |
2816 | type = ntohs (message->type); | 2815 | type = ntohs (message->type); |
2817 | LOG (GNUNET_ERROR_TYPE_INFO, "Send %s (%u bytes) on connection %s\n", | 2816 | LOG (GNUNET_ERROR_TYPE_INFO, "-> %s (%u bytes) on connection %s\n", |
2818 | GM_m2s (type), size, GMC_2s (c)); | 2817 | GM_m2s (type), size, GMC_2s (c)); |
2819 | 2818 | ||
2820 | fc = fwd ? &c->fwd_fc : &c->bck_fc; | 2819 | fc = fwd ? &c->fwd_fc : &c->bck_fc; |