Browse code

rls(k): fixed double-quotes wrong position

- reported by Klaus Darilion

Daniel-Constantin Mierla authored on 05/01/2011 14:11:39
Showing 1 changed files
... ...
@@ -602,9 +602,10 @@ str* rls_notify_extra_hdr(subs_t* subs, char* start_cid, char* boundary_string)
602 602
 	if(start_cid && boundary_string)
603 603
 	{
604 604
 		str_hdr->len+= sprintf(str_hdr->s+str_hdr->len,
605
-			"Content-Type: \"multipart/related;type=\"application/rlmi+xml\"");
605
+			"Content-Type: multipart/related;type=\"application/rlmi+xml\"");
606 606
 		str_hdr->len+= sprintf(str_hdr->s+str_hdr->len,
607
-				";start= <%s>;boundary=%s\r\n", start_cid, boundary_string);
607
+				";start=\"<%s>\";boundary=\"%s\"\r\n",
608
+				start_cid, boundary_string);
608 609
 	}		
609 610
 	if(str_hdr->len> RLS_HDR_LEN)
610 611
 	{