gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r36400 - gnunet/src/cadet


From: gnunet
Subject: [GNUnet-SVN] r36400 - gnunet/src/cadet
Date: Fri, 2 Oct 2015 05:37:24 +0200

Author: bartpolot
Date: 2015-10-02 05:37:24 +0200 (Fri, 02 Oct 2015)
New Revision: 36400

Modified:
   gnunet/src/cadet/cadet_common.c
   gnunet/src/cadet/gnunet-service-cadet_local.c
Log:
- indicate retransmitted packets on conn log

Modified: gnunet/src/cadet/cadet_common.c
===================================================================
--- gnunet/src/cadet/cadet_common.c     2015-10-02 03:37:23 UTC (rev 36399)
+++ gnunet/src/cadet/cadet_common.c     2015-10-02 03:37:24 UTC (rev 36400)
@@ -114,7 +114,8 @@
      * Used to mark the "payload" of a non-payload message.
      */
     case 0:
-      return "";
+      s = "retrnsmit";
+      break;
 
       /**
        * Request the creation of a path

Modified: gnunet/src/cadet/gnunet-service-cadet_local.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_local.c       2015-10-02 03:37:23 UTC 
(rev 36399)
+++ gnunet/src/cadet/gnunet-service-cadet_local.c       2015-10-02 03:37:24 UTC 
(rev 36400)
@@ -471,11 +471,14 @@
 
   /* Retrieve tunnel */
   chid = ntohl (msg->channel_id);
-  LOG (GNUNET_ERROR_TYPE_DEBUG, "  for channel %X\n", chid);
   ch = GML_channel_get (c, chid);
+
+  LOG (GNUNET_ERROR_TYPE_INFO, "Client %u is destroying channel %X\n",
+       c->id, chid);
+
   if (NULL == ch)
   {
-    LOG (GNUNET_ERROR_TYPE_DEBUG, "  channel %X not found\n", chid);
+    LOG (GNUNET_ERROR_TYPE_WARNING, "  channel %X not found\n", chid);
     GNUNET_STATISTICS_update (stats,
                               "# client destroy messages on unknown channel",
                               1, GNUNET_NO);




reply via email to

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