AST-2009-005

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@211526 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2009-08-10 19:12:35 +00:00
parent 5f4befcba9
commit 2581eeb8e8
62 changed files with 246 additions and 246 deletions

2
cli.c
View File

@@ -643,7 +643,7 @@ static int handle_debuglevel(int fd, int argc, char *argv[])
char *filename = "<any>";
if ((argc < 3) || (argc > 4))
return RESULT_SHOWUSAGE;
if (sscanf(argv[2], "%d", &newlevel) != 1)
if (sscanf(argv[2], "%5d", &newlevel) != 1)
return RESULT_SHOWUSAGE;
option_debug = newlevel;
if (argc == 4) {