gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r30896 - gnunet/src/mesh
Date: Wed, 27 Nov 2013 07:48:21 +0100

Author: bartpolot
Date: 2013-11-27 07:48:21 +0100 (Wed, 27 Nov 2013)
New Revision: 30896

Modified:
   gnunet/src/mesh/mesh_api.c
Log:
- log


Modified: gnunet/src/mesh/mesh_api.c
===================================================================
--- gnunet/src/mesh/mesh_api.c  2013-11-27 06:48:02 UTC (rev 30895)
+++ gnunet/src/mesh/mesh_api.c  2013-11-27 06:48:21 UTC (rev 30896)
@@ -463,7 +463,7 @@
   struct GNUNET_MESH_TransmitHandle *th;
   struct GNUNET_MESH_TransmitHandle *next;
 
-  LOG (GNUNET_ERROR_TYPE_DEBUG, "destroy_channel %X\n", ch->chid);
+  LOG (GNUNET_ERROR_TYPE_DEBUG, " destroy_channel %X\n", ch->chid);
 
   if (NULL == ch)
   {
@@ -476,7 +476,10 @@
 
   /* signal channel destruction */
   if ( (NULL != h->cleaner) && (0 != ch->peer) && (GNUNET_YES == call_cleaner) 
)
+  {
+    LOG (GNUNET_ERROR_TYPE_DEBUG, " calling cleaner\n");
     h->cleaner (h->cls, ch, ch->ctx);
+  }
 
   /* check that clients did not leave messages behind in the queue */
   for (th = h->th_head; NULL != th; th = next)
@@ -833,7 +836,7 @@
   struct GNUNET_MESH_Channel *ch;
   MESH_ChannelNumber chid;
 
-  LOG (GNUNET_ERROR_TYPE_DEBUG, "Destroying channel from service\n");
+  LOG (GNUNET_ERROR_TYPE_DEBUG, "Channel Destroy received from service\n");
   chid = ntohl (msg->channel_id);
   ch = retrieve_channel (h, chid);
 
@@ -842,7 +845,7 @@
     LOG (GNUNET_ERROR_TYPE_DEBUG, "channel %X unknown\n", chid);
     return;
   }
-  LOG (GNUNET_ERROR_TYPE_DEBUG, "channel %X destroyed\n", ch->chid);
+  LOG (GNUNET_ERROR_TYPE_DEBUG, " destroying channel %X\n", ch->chid);
   destroy_channel (ch, GNUNET_YES);
 }
 




reply via email to

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