Get rid of a warning that gets printed out when the console is configured without any logger levels

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@268203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Russell Bryant 16 years ago
parent ee7132528c
commit 9d65386480

@ -147,7 +147,10 @@ static int make_components(char *s, int lineno)
char *stringp = s;
while ((w = strsep(&stringp, ","))) {
w = ast_skip_blanks(w);
w = ast_strip(w);
if (ast_strlen_zero(w)) {
continue;
}
if (!strcasecmp(w, "error"))
res |= (1 << __LOG_ERROR);
else if (!strcasecmp(w, "warning"))

Loading…
Cancel
Save