gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r27600 - gnunet/src/mesh
Date: Wed, 26 Jun 2013 01:52:13 +0200

Author: bartpolot
Date: 2013-06-26 01:52:13 +0200 (Wed, 26 Jun 2013)
New Revision: 27600

Modified:
   gnunet/src/mesh/gnunet-service-mesh-new.c
Log:
- add client connection debug info

Modified: gnunet/src/mesh/gnunet-service-mesh-new.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh-new.c   2013-06-25 23:40:14 UTC (rev 
27599)
+++ gnunet/src/mesh/gnunet-service-mesh-new.c   2013-06-25 23:52:13 UTC (rev 
27600)
@@ -3963,7 +3963,7 @@
   struct MeshClient *c;
   struct MeshClient *next;
 
-  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "client disconnected\n");
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "client disconnected: %p\n", client);
   if (client == NULL)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "   (SERVER DOWN)\n");
@@ -3975,7 +3975,9 @@
   {
     if (c->handle != client)
     {
-      GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "   ... searching\n");
+      GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+                  "   ... searching %p (%u)\n",
+                  c->handle, c->id);
       c = c->next;
       continue;
     }
@@ -4021,7 +4023,7 @@
   uint32_t *p;
   unsigned int i;
 
-  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "new client connected\n");
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "new client connected %p\n", client);
 
   /* Check data sanity */
   size = ntohs (message->size) - sizeof (struct GNUNET_MESH_ClientConnect);




reply via email to

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