gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r23181 - gnunet/src/mesh
Date: Thu, 9 Aug 2012 17:55:48 +0200

Author: bartpolot
Date: 2012-08-09 17:55:48 +0200 (Thu, 09 Aug 2012)
New Revision: 23181

Modified:
   gnunet/src/mesh/mesh_api.c
Log:
- use strings

Modified: gnunet/src/mesh/mesh_api.c
===================================================================
--- gnunet/src/mesh/mesh_api.c  2012-08-09 15:53:34 UTC (rev 23180)
+++ gnunet/src/mesh/mesh_api.c  2012-08-09 15:55:48 UTC (rev 23181)
@@ -1187,8 +1187,8 @@
     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 */
@@ -1217,7 +1217,7 @@
   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");




reply via email to

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