[sr-dev] git:master: rls(k): fixed double-quotes wrong position

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 5 20:02:05 CET 2011


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Wed Jan  5 15:11:39 2011 +0100

rls(k): fixed double-quotes wrong position

- reported by Klaus Darilion

---

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

diff --git a/modules_k/rls/notify.c b/modules_k/rls/notify.c
index 9d22036..9b83f21 100644
--- a/modules_k/rls/notify.c
+++ b/modules_k/rls/notify.c
@@ -602,9 +602,10 @@ str* rls_notify_extra_hdr(subs_t* subs, char* start_cid, char* boundary_string)
 	if(start_cid && boundary_string)
 	{
 		str_hdr->len+= sprintf(str_hdr->s+str_hdr->len,
-			"Content-Type: \"multipart/related;type=\"application/rlmi+xml\"");
+			"Content-Type: multipart/related;type=\"application/rlmi+xml\"");
 		str_hdr->len+= sprintf(str_hdr->s+str_hdr->len,
-				";start= <%s>;boundary=%s\r\n", start_cid, boundary_string);
+				";start=\"<%s>\";boundary=\"%s\"\r\n",
+				start_cid, boundary_string);
 	}		
 	if(str_hdr->len> RLS_HDR_LEN)
 	{




More information about the sr-dev mailing list