Browse Source

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

- type has to be TMCB_LOCAL_COMPLETED to execute transaction callback
Daniel-Constantin Mierla 16 years ago
parent
commit
598aea444e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      modules_k/presence/notify.c

+ 2 - 2
modules_k/presence/notify.c

@@ -1569,8 +1569,8 @@ jump_over_body:
 		goto error;	
 		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);
 	result = tmb.t_request_within(&uac_r);
 	if(result< 0)
 	if(result< 0)
 	{
 	{