瀏覽代碼

tm: fix setting the pre-T callbacks

- introduced in the fix for uac module (affecting only uac)
- credits to Andrei Pelinescu-Onciul
Daniel-Constantin Mierla 15 年之前
父節點
當前提交
32d3e9c989
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/tm/t_hooks.c

+ 1 - 1
modules/tm/t_hooks.c

@@ -81,7 +81,7 @@ struct tmcb_head_list* get_early_tmcb_list(struct sip_msg *msg)
 
 void set_early_tmcb_list(struct sip_msg *msg, struct cell *t)
 {
-	if (msg->id!=tmcb_early_hl.msgid) {
+	if (msg->id==tmcb_early_hl.msgid) {
 		t->tmcb_hl = tmcb_early_hl.cb_list;
 		memset(&tmcb_early_hl.cb_list, 0, sizeof(struct tmcb_head_list));
 		tmcb_early_hl.msgid = 0;