瀏覽代碼

Fixed bug reported by [email protected] -- Missing ; in To of
NOTIFY when another parameter follows tag parameter in From in SUBSCRIBE.

Jan Janak 21 年之前
父節點
當前提交
7d837d13b1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/tm/dlg.c

+ 1 - 1
modules/tm/dlg.c

@@ -640,7 +640,7 @@ static inline int get_dlg_uri(struct hdr_field* _h, str* _s)
 		}
 		
 		if (ptr->next) {
-			tag_len = ptr->next->name.s - tag;
+			tag_len = ptr->value.s + ptr->value.len - tag;
 		} else {
 			tag_len = _h->body.s + _h->body.len - tag;
 		}