gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r32431 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r32431 - gnunet/src/mesh
Date: Wed, 19 Feb 2014 21:02:18 +0100

Author: bartpolot
Date: 2014-02-19 21:02:18 +0100 (Wed, 19 Feb 2014)
New Revision: 32431

Modified:
   gnunet/src/mesh/gnunet-service-mesh_connection.c
Log:
- fix log messages

Modified: gnunet/src/mesh/gnunet-service-mesh_connection.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_connection.c    2014-02-19 20:02:17 UTC 
(rev 32430)
+++ gnunet/src/mesh/gnunet-service-mesh_connection.c    2014-02-19 20:02:18 UTC 
(rev 32431)
@@ -1451,8 +1451,7 @@
 log_message (const struct GNUNET_MessageHeader *message,
              const struct GNUNET_PeerIdentity *peer)
 {
-  LOG (GNUNET_ERROR_TYPE_DEBUG, "\n\n");
-  LOG (GNUNET_ERROR_TYPE_INFO, "Got a %s message from %s\n",
+  LOG (GNUNET_ERROR_TYPE_INFO, "<- %s from %s\n",
        GM_m2s (ntohs (message->type)), GNUNET_i2s (peer));
 }
 
@@ -2814,7 +2813,7 @@
   data = GNUNET_malloc (size);
   memcpy (data, message, size);
   type = ntohs (message->type);
-  LOG (GNUNET_ERROR_TYPE_INFO, "Send %s (%u bytes) on connection %s\n",
+  LOG (GNUNET_ERROR_TYPE_INFO, "-> %s (%u bytes) on connection %s\n",
        GM_m2s (type), size, GMC_2s (c));
 
   fc = fwd ? &c->fwd_fc : &c->bck_fc;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]