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
1.4
Russell Bryant 19 years ago
parent 789234df2d
commit c8ee894823

@ -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];

Loading…
Cancel
Save