[asterisk-commits] mmichelson: trunk r97846 - /trunk/apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jan 10 14:05:44 CST 2008
Author: mmichelson
Date: Thu Jan 10 14:05:43 2008
New Revision: 97846
URL: http://svn.digium.com/view/asterisk?view=rev&rev=97846
Log:
Use the appropriate line ending for the X-Asterisk-VM-Message-Type header.
(closes issue #11734, reported and patched by jaroth)
Modified:
trunk/apps/app_voicemail.c
Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=97846&r1=97845&r2=97846
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Thu Jan 10 14:05:43 2008
@@ -2020,7 +2020,7 @@
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));
}
More information about the asterisk-commits
mailing list