aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_record.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-07-14 07:34:34 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-07-14 07:34:34 +0000
commit4e18ef688947854313b99f35aa30c0e7d8ae29cd (patch)
tree54b0d7240765bc43ef378f171a536e6bc7d206d9 /apps/app_record.c
parent59d780973e0c1aab681be9dcba1baa2706caf92f (diff)
Merge rgagnon's pedantic string changes (apps n-z) (bug #2038)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3429 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_record.c')
-rwxr-xr-xapps/app_record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_record.c b/apps/app_record.c
index 92b38b3b0..cd46d3e43 100755
--- a/apps/app_record.c
+++ b/apps/app_record.c
@@ -156,7 +156,7 @@ static int record_exec(struct ast_channel *chan, void *data)
create a new file with the inputed name scheme */
if (percentflag) {
do {
- snprintf(tmp, sizeof(tmp)-1, fil, count);
+ snprintf(tmp, sizeof(tmp), fil, count);
count++;
} while ( ast_fileexists(tmp, ext, chan->language) != -1 );
pbx_builtin_setvar_helper(chan, "RECORDED_FILE", tmp);