diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-10 21:40:36 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-10 21:40:36 +0000 |
commit | d73eb218f9ddb1f68b1244483eb16db3e15427f1 (patch) | |
tree | 4ff1338edeb4032d96ca860821074ea717d31801 /apps/app_privacy.c | |
parent | 190edd24e377bc80baef2872d604ec76493b4d6b (diff) |
1.6.1.4 changes
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.6.1.4@211674 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_privacy.c')
-rw-r--r-- | apps/app_privacy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_privacy.c b/apps/app_privacy.c index 09f698861..78f53aa4f 100644 --- a/apps/app_privacy.c +++ b/apps/app_privacy.c @@ -92,13 +92,13 @@ static int privacy_exec (struct ast_channel *chan, void *data) AST_STANDARD_APP_ARGS(args, parse); if (args.maxretries) { - if (sscanf(args.maxretries, "%d", &x) == 1) + if (sscanf(args.maxretries, "%30d", &x) == 1) maxretries = x; else ast_log(LOG_WARNING, "Invalid max retries argument\n"); } if (args.minlength) { - if (sscanf(args.minlength, "%d", &x) == 1) + if (sscanf(args.minlength, "%30d", &x) == 1) minlength = x; else ast_log(LOG_WARNING, "Invalid min length argument\n"); |