Merged revisions 47196 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Sat, 4 Nov 2006 18:12:31 +0000 (18:12 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 4 Nov 2006 18:12:31 +0000 (18:12 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47196 | russell | 2006-11-04 13:10:22 -0500 (Sat, 04 Nov 2006) | 2 lines

Fix another bug in "core set debug" ...

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47198 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/cli.c

index 76a9a30..2c5f747 100644 (file)
@@ -244,7 +244,7 @@ static int handle_debug(int fd, int argc, char *argv[])
                if (sscanf(argv[4], "%d", &newlevel) != 1)
                        return RESULT_SHOWUSAGE;
 
-               if (argc == 4) {
+               if (argc == 6) {
                        debug_filename[0] = '\0';
                } else {
                        filename = argv[4];