Module: sip-router
Branch: 3.1
Commit: 0a69c6b9aa0037e014a710043d6e258188e28c2b
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0a69c6b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Jan 5 15:11:39 2011 +0100
rls(k): fixed double-quotes wrong position
- reported by Klaus Darilion
(cherry picked from commit 7e01915b757da740d7fff31ba1a25c4aa5a96908)
---
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)
{