Correct 'all logger levels' patch to work properly.
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 20 May 2010 12:06:11 +0000 (12:06 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 20 May 2010 12:06:11 +0000 (12:06 +0000)
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

main/logger.c

index 3b66854..698e782 100644 (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])) {