mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Correct 'all logger levels' patch to work properly.
Nick Lewis pointed out that the patch as committed wouldn't actually include dynamic logger levels, which was missed by the other reviewers. Thanks! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@264497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -217,7 +217,7 @@ static unsigned int make_components(const char *s, int lineno)
|
||||
w = ast_skip_blanks(w);
|
||||
|
||||
if (!strcmp(w, "*")) {
|
||||
res = 0xFFFF;
|
||||
res = 0xFFFFFFFF;
|
||||
break;
|
||||
} else for (x = 0; x < ARRAY_LEN(levels); x++) {
|
||||
if (levels[x] && !strcasecmp(w, levels[x])) {
|
||||
|
Reference in New Issue
Block a user