Module: kamailio
Branch: master
Commit: ee039a91dd41a5780105305f6b787e95297da1d0
URL:
https://github.com/kamailio/kamailio/commit/ee039a91dd41a5780105305f6b787e9…
Author: Sebastian Kemper <sebastian_ml(a)gmx.net>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-11-03T13:03:34+01:00
ims_dialog: use TIME_T_FMT
Signed-off-by: Sebastian Kemper <sebastian_ml(a)gmx.net>
---
Modified: src/modules/ims_dialog/dlg_handlers.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ee039a91dd41a5780105305f6b787e9…
Patch:
https://github.com/kamailio/kamailio/commit/ee039a91dd41a5780105305f6b787e9…
---
diff --git a/src/modules/ims_dialog/dlg_handlers.c
b/src/modules/ims_dialog/dlg_handlers.c
index 3d8dee7ff3..55f523b9a2 100644
--- a/src/modules/ims_dialog/dlg_handlers.c
+++ b/src/modules/ims_dialog/dlg_handlers.c
@@ -1867,7 +1867,7 @@ void internal_print_all_dlg(struct dlg_cell *dlg) {
LM_DBG("----------------------------");
LM_DBG("Dialog h_entry:h_id = [%u : %u]\n", dlg->h_entry,
dlg->h_id);
- LM_DBG("Dialog age: %ld\n", act_time - dlg->init_ts);
+ LM_DBG("Dialog age: %" TIME_T_FMT "\n", TIME_T_CAST(act_time -
dlg->init_ts));
LM_DBG("Dialog call-id: %.*s\n", dlg->callid.len, dlg->callid.s);
LM_DBG("Dialog state: %d\n", dlg->state);
LM_DBG("Dialog ref counter: %d\n", dlg->ref);