diff options
author | Mark Michelson <mmichelson@digium.com> | 2008-01-10 20:05:43 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2008-01-10 20:05:43 +0000 |
commit | 8f9f9246ceacc6919c6bf89af5de9ea8a35332e8 (patch) | |
tree | 2fb5844d40c83434b3ad3e166863042e3237e8d3 /apps | |
parent | 4a403e3c33c6d971af12883d32d57407e4936d2b (diff) |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index f0b137cfc..b337e754a 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)); } |