diff options
Diffstat (limited to 'main/frame.c')
-rw-r--r-- | main/frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/frame.c b/main/frame.c index e73424aaa..6b5cd794d 100644 --- a/main/frame.c +++ b/main/frame.c @@ -729,7 +729,7 @@ static char *show_codec_n(struct ast_cli_entry *e, int cmd, struct ast_cli_args if (a->argc != 4) return CLI_SHOWUSAGE; - if (sscanf(a->argv[3],"%d",&codec) != 1) + if (sscanf(a->argv[3], "%30d", &codec) != 1) return CLI_SHOWUSAGE; for (i = 0; i < 32; i++) |