gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r35801 - in gnunet/src: regex vpn


From: gnunet
Subject: [GNUnet-SVN] r35801 - in gnunet/src: regex vpn
Date: Mon, 25 May 2015 15:09:43 +0200

Author: grothoff
Date: 2015-05-25 15:09:43 +0200 (Mon, 25 May 2015)
New Revision: 35801

Modified:
   gnunet/src/regex/regex_api.c
   gnunet/src/vpn/gnunet-service-vpn.c
Log:
-logging

Modified: gnunet/src/regex/regex_api.c
===================================================================
--- gnunet/src/regex/regex_api.c        2015-05-25 13:02:31 UTC (rev 35800)
+++ gnunet/src/regex/regex_api.c        2015-05-25 13:09:43 UTC (rev 35801)
@@ -279,9 +279,6 @@
                   pid,
                   &pid[1], gpl,
                   &pid[1 + gpl], ppl);
-      LOG (GNUNET_ERROR_TYPE_DEBUG,
-           "Returned from regex CB\n",
-           GNUNET_i2s (pid));
       return;
     }
   }

Modified: gnunet/src/vpn/gnunet-service-vpn.c
===================================================================
--- gnunet/src/vpn/gnunet-service-vpn.c 2015-05-25 13:02:31 UTC (rev 35800)
+++ gnunet/src/vpn/gnunet-service-vpn.c 2015-05-25 13:09:43 UTC (rev 35801)
@@ -892,6 +892,9 @@
   GNUNET_assert (NULL != ts);
   if (except == ts)
     return; /* can't do this */
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+              "Tearing down expired channel to %s\n",
+              print_channel_destination (&except->destination));
   free_channel_state (ts);
 }
 
@@ -2495,7 +2498,8 @@
   struct DestinationChannel *dt;
 
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-             "Cleaning up destination entry\n");
+             "Cleaning up destination entry `%s'\n",
+              print_channel_destination (de));
   GNUNET_STATISTICS_update (stats,
                            gettext_noop ("# Active destinations"),
                            -1, GNUNET_NO);
@@ -2840,6 +2844,9 @@
   struct ChannelState *ts = channel_ctx;
 
   ts->channel = NULL; /* we must not call GNUNET_CADET_channel_destroy() 
anymore */
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+             "CADET notified us about death of channel to `%s'\n",
+              print_channel_destination (&ts->destination));
   free_channel_state (ts);
 }
 
@@ -2874,11 +2881,14 @@
  */
 static int
 cleanup_channel (void *cls,
-               const struct GNUNET_HashCode *key,
-               void *value)
+                 const struct GNUNET_HashCode *key,
+                 void *value)
 {
   struct ChannelState *ts = value;
 
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+             "Tearing down channel to `%s' during cleanup\n",
+              print_channel_destination (&ts->destination));
   free_channel_state (ts);
   return GNUNET_OK;
 }




reply via email to

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