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
This commit is contained in:
parent
4a403e3c33
commit
8f9f9246ce
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
fprintf(p, "X-Asterisk-VM-Duration: %d" ENDL, duration);
|
||||||
if (!ast_strlen_zero(category))
|
if (!ast_strlen_zero(category))
|
||||||
fprintf(p, "X-Asterisk-VM-Category: %s" ENDL, 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-date: %s" ENDL, date);
|
||||||
fprintf(p, "X-Asterisk-VM-Orig-time: %ld" ENDL, (long)time(NULL));
|
fprintf(p, "X-Asterisk-VM-Orig-time: %ld" ENDL, (long)time(NULL));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue