diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-11-05 11:26:18 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-11-05 11:26:18 +0000 |
commit | bc83770144cc547a917fc27f0f572859ae203fce (patch) | |
tree | dd569a25e9832cdc91838af49f4ad76b4f9b83d1 /src/util/common_logging.c | |
parent | 22d94c49ad387d3b7e373a955495ae39362b801a (diff) | |
download | gnunet-bc83770144cc547a917fc27f0f572859ae203fce.tar.gz gnunet-bc83770144cc547a917fc27f0f572859ae203fce.zip |
LRN patch from Mantis #1615
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 | ||