]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Add a missing "\r\n" in the body of the NOTIFY that is sent to indicate the
authorRussell Bryant <russell@russellbryant.com>
Tue, 3 Apr 2007 23:23:23 +0000 (23:23 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 3 Apr 2007 23:23:23 +0000 (23:23 +0000)
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

channels/chan_sip.c

index 1221cd7e0d9d1e854a14c1eb67fe5a4acd8f7116..1418c4e48188cdfab7c7524c8a6e636bb8b1fc37 100644 (file)
@@ -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);