Browse code

debugger: updates for core events API changes

Daniel-Constantin Mierla authored on 14/06/2017 11:26:04
Showing 1 changed files
... ...
@@ -322,7 +322,7 @@ char* get_current_route_type_name()
322 322
 /**
323 323
  * callback executed for each cfg action
324 324
  */
325
-int dbg_cfg_trace(void *data)
325
+int dbg_cfg_trace(sr_event_param_t *evp)
326 326
 {
327 327
 	struct action *a;
328 328
 	struct sip_msg *msg;
... ...
@@ -334,7 +334,7 @@ int dbg_cfg_trace(void *data)
334 334
 	void **srevp;
335 335
 	str *an;
336 336
 
337
-	srevp = (void**)data;
337
+	srevp = (void**)evp->data;
338 338
 
339 339
 	a = (struct action *)srevp[0];
340 340
 	msg = (struct sip_msg *)srevp[1];