summaryrefslogtreecommitdiff
path: root/main/app.c
diff options
context:
space:
mode:
authorLeif Madsen <leif@leifmadsen.com>2011-05-09 14:41:33 +0000
committerLeif Madsen <leif@leifmadsen.com>2011-05-09 14:41:33 +0000
commitf2df0ed9f1afd469cd3dd0bc1366af0ab8755d67 (patch)
treeb36ee0a82e291a2dbb75d8f80c233167aab9d0d4 /main/app.c
parentff4c7d46c02f412717fb10e718b112be0a76d301 (diff)
Increase prepend filename length.
(closes issue #19238) Reported by: byronclark Patches: increase_prepend_filename_length.patch uploaded by byronclark (license 1200) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@318194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/app.c')
-rw-r--r--main/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/app.c b/main/app.c
index b9be31783..3594b0b86 100644
--- a/main/app.c
+++ b/main/app.c
@@ -744,7 +744,7 @@ static int __ast_play_and_record(struct ast_channel *chan, const char *playfile,
int olddspsilence = 0;
struct ast_format rfmt;
struct ast_silence_generator *silgen = NULL;
- char prependfile[80];
+ char prependfile[PATH_MAX];
ast_format_clear(&rfmt);
if (silencethreshold < 0) {