aboutsummaryrefslogtreecommitdiffstats
path: root/main/cli.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-04 18:12:31 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-04 18:12:31 +0000
commit8891d7151bbb6144d0d8915dbe443e00f6771086 (patch)
treed780c2d18fc944282c287b784f8788bedab75056 /main/cli.c
parentc338f06d38bb791360679cc0f74e2ee39c5eddb0 (diff)
Merged revisions 47196 via svnmerge from
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: http://svn.digium.com/svn/asterisk/trunk@47198 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/cli.c')
-rw-r--r--main/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/cli.c b/main/cli.c
index 76a9a3077..2c5f747af 100644
--- a/main/cli.c
+++ b/main/cli.c
@@ -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];