From: Russell Bryant Date: Tue, 3 Apr 2007 23:23:23 +0000 (+0000) Subject: Add a missing "\r\n" in the body of the NOTIFY that is sent to indicate the X-Git-Tag: 1.2.18~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0991f6e1fe7e97848516f436444dcbc0fa86491;p=thirdparty%2Fasterisk.git Add a missing "\r\n" in the body of the NOTIFY that is sent to indicate the status of a transfer. (issue #9388, reported by rarritt) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@60016 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 1221cd7e0d..1418c4e481 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -5399,7 +5399,7 @@ static int transmit_notify_with_sipfrag(struct sip_pvt *p, int cseq) add_header(&req, "Subscription-state", "terminated;reason=noresource"); add_header(&req, "Content-Type", "message/sipfrag;version=2.0"); - strcpy(tmp, "SIP/2.0 200 OK"); + strcpy(tmp, "SIP/2.0 200 OK\r\n"); add_header_contentLength(&req, strlen(tmp)); add_line(&req, tmp);