aboutsummaryrefslogtreecommitdiffstats
path: root/src/logging.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-03-19 09:55:42 +0100
committerHarald Welte <laforge@gnumonks.org>2013-03-19 09:55:42 +0100
commit54c5ed1518b5856e282fd3f7bba02c27ea9d879d (patch)
treeee7200a4935b136802181ac5df6fd5293d88b984 /src/logging.c
parent9b1867093f7ddc4f1bc4cdd56813a8195bd574e4 (diff)
Revert "Follow up fix for the log level "everything""
This reverts commit a6428d2376034d619f342897d3ce415b3f9a3584.
Diffstat (limited to 'src/logging.c')
-rw-r--r--src/logging.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/logging.c b/src/logging.c
index 995fcd79..214ad2ab 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -135,9 +135,6 @@ int log_parse_level(const char *lvl)
/*! \brief convert a numeric log level into human-readable string */
const char *log_level_str(unsigned int lvl)
{
- /* backwards compatibility */
- if (lvl == 0)
- return loglevel_strs[0].str;
return get_value_string(loglevel_strs, lvl);
}