[Asterisk-cvs] asterisk/channels chan_sip.c,1.519,1.520
markster at lists.digium.com
markster at lists.digium.com
Wed Oct 6 00:28:48 CDT 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv7837/channels
Modified Files:
chan_sip.c
Log Message:
Locking updates for debug mode, fix SIP MWI (bug #2582)
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.519
retrieving revision 1.520
diff -u -d -r1.519 -r1.520
--- chan_sip.c 4 Oct 2004 17:17:08 -0000 1.519
+++ chan_sip.c 6 Oct 2004 04:30:15 -0000 1.520
@@ -3943,8 +3943,8 @@
add_header(&req, "Event", "message-summary");
add_header(&req, "Content-Type", notifymime);
- snprintf(tmp, sizeof(tmp), "Messages-Waiting: %s\n", newmsgs ? "yes" : "no");
- snprintf(tmp2, sizeof(tmp2), "Voicemail: %d/%d\n", newmsgs, oldmsgs);
+ snprintf(tmp, sizeof(tmp), "Messages-Waiting: %s\r\n", newmsgs ? "yes" : "no");
+ snprintf(tmp2, sizeof(tmp2), "Voicemail: %d/%d\r\n", newmsgs, oldmsgs);
snprintf(clen, sizeof(clen), "%d", (int)(strlen(tmp) + strlen(tmp2)));
add_header(&req, "Content-Length", clen);
add_line(&req, tmp);
More information about the svn-commits
mailing list