Browse code

Fixed bug reported by Axel.Boeger@freenet-ag.de -- Missing ; in To of NOTIFY when another parameter follows tag parameter in From in SUBSCRIBE.

Jan Janak authored on 25/04/2004 20:37:48
Showing 1 changed files
... ...
@@ -640,7 +640,7 @@ static inline int get_dlg_uri(struct hdr_field* _h, str* _s)
640 640
 		}
641 641
 		
642 642
 		if (ptr->next) {
643
-			tag_len = ptr->next->name.s - tag;
643
+			tag_len = ptr->value.s + ptr->value.len - tag;
644 644
 		} else {
645 645
 			tag_len = _h->body.s + _h->body.len - tag;
646 646
 		}