From 8f9f9246ceacc6919c6bf89af5de9ea8a35332e8 Mon Sep 17 00:00:00 2001 From: Mark Michelson <mmichelson@digium.com> Date: Thu, 10 Jan 2008 20:05:43 +0000 Subject: [PATCH] Use the appropriate line ending for the X-Asterisk-VM-Message-Type header. (closes issue #11734, reported and patched by jaroth) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97846 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 f0b137cfc4..b337e754a7 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -2020,7 +2020,7 @@ static void make_email_file(FILE *p, char *srcemail, struct ast_vm_user *vmu, in fprintf(p, "X-Asterisk-VM-Duration: %d" ENDL, duration); if (!ast_strlen_zero(category)) fprintf(p, "X-Asterisk-VM-Category: %s" ENDL, category); - fprintf(p, "X-Asterisk-VM-Message-Type: %s\n", msgnum > -1 ? "Message" : greeting_attachment); + fprintf(p, "X-Asterisk-VM-Message-Type: %s" ENDL, msgnum > -1 ? "Message" : greeting_attachment); fprintf(p, "X-Asterisk-VM-Orig-date: %s" ENDL, date); fprintf(p, "X-Asterisk-VM-Orig-time: %ld" ENDL, (long)time(NULL)); } -- GitLab