From 7438e38f228e06ce79f2e8a4e56a0de92d6f449c Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Fri, 8 Aug 2014 20:08:26 +0000 Subject: Fix build in devmode. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@420592 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 5cdf3fbc7..439173049 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -5066,8 +5066,8 @@ static void make_email_file(FILE *p, prep_email_sub_vars(ast, vmu, msgnum + 1, context, mailbox, fromfolder, cidnum, cidname, dur, date, category, flag); ast_str_substitute_variables(&str1, 0, ast, e_subj); if (check_mime(ast_str_buffer(str1))) { - first_line = 1; char *ptr; + first_line = 1; ast_str_encode_mime(&str2, 0, ast_str_buffer(str1), strlen("Subject: "), 0); while ((ptr = strchr(ast_str_buffer(str2), ' '))) { *ptr = '\0'; -- cgit v1.2.3