diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-10 21:28:06 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-10 21:28:06 +0000 |
commit | 5f4f6a16c6f8445c03929d005d1b54d7e33e2a0b (patch) | |
tree | f569ed2f6bd68574ed062e0071f7b162f71fe631 /res/res_limit.c | |
parent | 2afe39172fa21bff7deb93028e6fca050e6757e3 (diff) |
Changes for 1.6.0.12v1.6.0.12
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.6.0.12@211672 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_limit.c')
-rw-r--r-- | res/res_limit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_limit.c b/res/res_limit.c index b1cf025b0..94a6e8719 100644 --- a/res/res_limit.c +++ b/res/res_limit.c @@ -178,7 +178,7 @@ static char *handle_cli_ulimit(struct ast_cli_entry *e, int cmd, struct ast_cli_ return CLI_FAILURE; } - sscanf(a->argv[2], "%d", &x); + sscanf(a->argv[2], "%30d", &x); rlimit.rlim_max = rlimit.rlim_cur = x; setrlimit(resource, &rlimit); return CLI_SUCCESS; |