diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-04 18:10:22 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-04 18:10:22 +0000 |
commit | 54e9fd82f580d6d46e175b3782f72087112dd49e (patch) | |
tree | b213fa3a06740d3920728458266bb4aec6058b4f /main/cli.c | |
parent | 136de399d015525605e1e0114d56077c8c31dfd3 (diff) |
Fix another bug in "core set debug" ...
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47196 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/cli.c')
-rw-r--r-- | main/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/cli.c b/main/cli.c index 64ee53bea..a955d9981 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]; |