From: Kevin P. Fleming Date: Thu, 20 May 2010 12:06:11 +0000 (+0000) Subject: Correct 'all logger levels' patch to work properly. X-Git-Tag: 11.0.0-beta1~2998 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2aa0c11679fde5a7598958700db9b3584721dd0e;p=thirdparty%2Fasterisk.git 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 --- diff --git a/main/logger.c b/main/logger.c index 3b66854a15..698e782ebf 100644 --- a/main/logger.c +++ b/main/logger.c @@ -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])) {