commit | 54c5ed1518b5856e282fd3f7bba02c27ea9d879d | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Tue Mar 19 09:55:42 2013 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Tue Mar 19 09:55:42 2013 +0100 |
tree | ee7200a4935b136802181ac5df6fd5293d88b984 | |
parent | 9b1867093f7ddc4f1bc4cdd56813a8195bd574e4 [diff] |
Revert "Follow up fix for the log level "everything"" This reverts commit a6428d2376034d619f342897d3ce415b3f9a3584.
diff --git a/src/logging.c b/src/logging.c index 995fcd7..214ad2a 100644 --- a/src/logging.c +++ b/src/logging.c
@@ -135,9 +135,6 @@ /*! \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); }