Module: sip-router
Branch: master
Commit: 7925ae1a9ae6083fcdd04249eefe974e2a5f6e8f
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7925ae1a9ae6083fcdd04249eefe974e2a5f6e8f

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date:   Wed Jan  5 12:45:58 2011 +0100

rls(k): added CRLF for Subscription-State header

- for the case of subscrition termination on timeout, the header was
  missing CRLF to its end
- patch by Klaus Darilion

---

 modules_k/rls/notify.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules_k/rls/notify.c b/modules_k/rls/notify.c
index 85c62a4..9d22036 100644
--- a/modules_k/rls/notify.c
+++ b/modules_k/rls/notify.c
@@ -595,7 +595,7 @@ str* rls_notify_extra_hdr(subs_t* subs, char* start_cid, 
char* boundary_string)
                        "Subscription-State: active;expires=%d\r\n", expires);
        else
                str_hdr->len+= sprintf(str_hdr->s+str_hdr->len,
-                       "Subscription-State: terminated;reason=timeout");
+                       "Subscription-State: terminated;reason=timeout\r\n");
 
        str_hdr->len+= sprintf(str_hdr->s+str_hdr->len, "Require: 
eventlist\r\n");
 


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to