From: Russell Bryant Date: Sat, 4 Nov 2006 18:10:22 +0000 (+0000) Subject: Fix another bug in "core set debug" ... X-Git-Tag: 1.4.0-beta4~197 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c8ee894823570e0859b98a895d50190a15373d71;p=thirdparty%2Fasterisk.git Fix another bug in "core set debug" ... git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47196 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/cli.c b/main/cli.c index 64ee53bea6..a955d99812 100644 --- a/main/cli.c +++ b/main/cli.c @@ -298,7 +298,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];