mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-28 00:10:25 -07:00
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:
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user