summaryrefslogtreecommitdiff
path: root/apps/app_record.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2001-10-18 16:47:57 +0000
committerMark Spencer <markster@digium.com>2001-10-18 16:47:57 +0000
commita07f2c930bef91db5f14f214183775ec1898f6de (patch)
treee6f64a0d6ef32dc8598367c752db154a16cf3a4b /apps/app_record.c
parent39b383b3539d563cbd8f607e5e5d4014e5de6879 (diff)
Version 0.1.10 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 4703ade72..d5937b6ee 100755
--- a/apps/app_record.c
+++ b/apps/app_record.c
@@ -89,7 +89,7 @@ static int record_exec(struct ast_channel *chan, void *data)
count++;
} while ( ast_fileexists(tmp, ext, chan->language) != -1 );
} else
- strncpy(tmp, fil, 256);
+ strncpy(tmp, fil, 256-1);
/* end of routine mentioned */
LOCAL_USER_ADD(u);