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
This commit is contained in:
Russell Bryant
2007-04-03 23:23:23 +00:00
parent 7a18c89ba8
commit d0991f6e1f
+1 -1
View 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);