aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cadet/gnunet-cadet.c3
-rw-r--r--src/util/common_logging.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/cadet/gnunet-cadet.c b/src/cadet/gnunet-cadet.c
index 88ee41096..53c0f2e47 100644
--- a/src/cadet/gnunet-cadet.c
+++ b/src/cadet/gnunet-cadet.c
@@ -419,9 +419,10 @@ channel_incoming (void *cls,
419 } 419 }
420 if (NULL != lp) { 420 if (NULL != lp) {
421 /* Now that we have our circuit up and running, let's not 421 /* Now that we have our circuit up and running, let's not
422 * get confused by further incoming circuits. 422 * get confused by further incoming connect requests.
423 */ 423 */
424 GNUNET_CADET_close_port (lp); 424 GNUNET_CADET_close_port (lp);
425 lp = NULL;
425 } 426 }
426 ch = channel; 427 ch = channel;
427 if (GNUNET_NO == echo) 428 if (GNUNET_NO == echo)
diff --git a/src/util/common_logging.c b/src/util/common_logging.c
index a80081011..ecbe69443 100644
--- a/src/util/common_logging.c
+++ b/src/util/common_logging.c
@@ -256,9 +256,9 @@ get_type (const char *log)
256 if (0 == strcasecmp (log, _("DEBUG"))) 256 if (0 == strcasecmp (log, _("DEBUG")))
257 return GNUNET_ERROR_TYPE_DEBUG; 257 return GNUNET_ERROR_TYPE_DEBUG;
258 if (0 == strcasecmp (log, _("INFO"))) 258 if (0 == strcasecmp (log, _("INFO")))
259 return GNUNET_ERROR_TYPE_MESSAGE;
260 if (0 == strcasecmp (log, _("MESSAGE")))
261 return GNUNET_ERROR_TYPE_INFO; 259 return GNUNET_ERROR_TYPE_INFO;
260 if (0 == strcasecmp (log, _("MESSAGE")))
261 return GNUNET_ERROR_TYPE_MESSAGE;
262 if (0 == strcasecmp (log, _("WARNING"))) 262 if (0 == strcasecmp (log, _("WARNING")))
263 return GNUNET_ERROR_TYPE_WARNING; 263 return GNUNET_ERROR_TYPE_WARNING;
264 if (0 == strcasecmp (log, _("ERROR"))) 264 if (0 == strcasecmp (log, _("ERROR")))