summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2010-04-19 19:23:41 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2010-04-19 19:23:41 +0000
commit990ccdd05f17eb845fdd255568d44eac3833bf14 (patch)
tree78beef8974ef73a31629ad9f651a1440cd3a19f1 /apps/app_voicemail.c
parent38d77bde7579e8df90ea21aa6df503c9b329dd32 (diff)
Bad merge fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@257883 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index d38978b22..4f617e1c4 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -4483,7 +4483,7 @@ static void make_email_file(FILE *p, char *srcemail, struct ast_vm_user *vmu, in
#ifdef IMAP_STORAGE
{
/* Convert body to native line terminators for IMAP backend */
- char *line = passdata, *next;
+ char *line = ast_str_buffer(str1), *next;
do {
/* Terminate line before outputting it to the file */
if ((next = strchr(line, '\n'))) {