Преглед изворни кода

presence(k): : set callback type for local requests

- type has to be TMCB_LOCAL_COMPLETED to execute transaction callback
(cherry picked from commit 598aea444e9f8b2a1c610daa363723e2d38496b7)
Daniel-Constantin Mierla пре 16 година
родитељ
комит
e89900603d
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      modules_k/presence/notify.c

+ 2 - 2
modules_k/presence/notify.c

@@ -1569,8 +1569,8 @@ jump_over_body:
 		goto error;	
 	}	
 
-	set_uac_req(&uac_r, &met, &str_hdr, notify_body, td, 0, p_tm_callback,
-				(void*)cb_param);
+	set_uac_req(&uac_r, &met, &str_hdr, notify_body, td, TMCB_LOCAL_COMPLETED,
+			p_tm_callback, (void*)cb_param);
 	result = tmb.t_request_within(&uac_r);
 	if(result< 0)
 	{