Bläddra i källkod

tm: fix setting the pre-T callbacks

- introduced in the fix for uac module (affecting only uac)
- credits to Andrei Pelinescu-Onciul
(cherry picked from commit 32d3e9c98943ad298f09d26db83ecf4ce5c2cc0e)
Daniel-Constantin Mierla 15 år sedan
förälder
incheckning
a9c4a00bf4
1 ändrade filer med 1 tillägg och 1 borttagningar
  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;