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:
Kevin P. Fleming
2010-05-20 12:06:11 +00:00
parent 6bb45831eb
commit 2aa0c11679

View File

@@ -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])) {