gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r37677 - in gnunet/src: cadet util


From: gnunet
Subject: [GNUnet-SVN] r37677 - in gnunet/src: cadet util
Date: Mon, 8 Aug 2016 23:11:50 +0200

Author: lynx
Date: 2016-08-08 23:11:50 +0200 (Mon, 08 Aug 2016)
New Revision: 37677

Modified:
   gnunet/src/cadet/gnunet-cadet.c
   gnunet/src/util/common_logging.c
Log:
UX: message type for important things that aren't evil

Modified: gnunet/src/cadet/gnunet-cadet.c
===================================================================
--- gnunet/src/cadet/gnunet-cadet.c     2016-08-08 19:51:46 UTC (rev 37676)
+++ gnunet/src/cadet/gnunet-cadet.c     2016-08-08 21:11:50 UTC (rev 37677)
@@ -419,9 +419,10 @@
   }
   if (NULL != lp) {
     /* Now that we have our circuit up and running, let's not
-     * get confused by further incoming circuits.
+     * get confused by further incoming connect requests.
      */
     GNUNET_CADET_close_port (lp);
+    lp = NULL;
   }
   ch = channel;
   if (GNUNET_NO == echo)

Modified: gnunet/src/util/common_logging.c
===================================================================
--- gnunet/src/util/common_logging.c    2016-08-08 19:51:46 UTC (rev 37676)
+++ gnunet/src/util/common_logging.c    2016-08-08 21:11:50 UTC (rev 37677)
@@ -256,9 +256,9 @@
   if (0 == strcasecmp (log, _("DEBUG")))
     return GNUNET_ERROR_TYPE_DEBUG;
   if (0 == strcasecmp (log, _("INFO")))
+    return GNUNET_ERROR_TYPE_INFO;
+  if (0 == strcasecmp (log, _("MESSAGE")))
     return GNUNET_ERROR_TYPE_MESSAGE;
-  if (0 == strcasecmp (log, _("MESSAGE")))
-    return GNUNET_ERROR_TYPE_INFO;
   if (0 == strcasecmp (log, _("WARNING")))
     return GNUNET_ERROR_TYPE_WARNING;
   if (0 == strcasecmp (log, _("ERROR")))




reply via email to

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