diff options
Diffstat (limited to 'src/util/common_logging.c')
-rw-r--r-- | src/util/common_logging.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/common_logging.c b/src/util/common_logging.c index 223c92218..74f28ff76 100644 --- a/src/util/common_logging.c +++ b/src/util/common_logging.c | |||
@@ -152,6 +152,8 @@ get_type (const char *log) | |||
152 | return GNUNET_ERROR_TYPE_WARNING; | 152 | return GNUNET_ERROR_TYPE_WARNING; |
153 | if (0 == strcasecmp (log, _("ERROR"))) | 153 | if (0 == strcasecmp (log, _("ERROR"))) |
154 | return GNUNET_ERROR_TYPE_ERROR; | 154 | return GNUNET_ERROR_TYPE_ERROR; |
155 | if (0 == strcasecmp (log, _("NONE"))) | ||
156 | return GNUNET_ERROR_TYPE_NONE; | ||
155 | return GNUNET_ERROR_TYPE_INVALID; | 157 | return GNUNET_ERROR_TYPE_INVALID; |
156 | } | 158 | } |
157 | 159 | ||