Module: kamailio
Branch: master
Commit: 71d92b26105a4e88f4fba3986a0ba306e89adc4f
URL:
https://github.com/kamailio/kamailio/commit/71d92b26105a4e88f4fba3986a0ba30…
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_charging: use TIME_T_FMT
Signed-off-by: Sebastian Kemper <sebastian_ml(a)gmx.net>
---
Modified: src/modules/ims_charging/ims_ro.c
---
Diff:
https://github.com/kamailio/kamailio/commit/71d92b26105a4e88f4fba3986a0ba30…
Patch:
https://github.com/kamailio/kamailio/commit/71d92b26105a4e88f4fba3986a0ba30…
---
diff --git a/src/modules/ims_charging/ims_ro.c b/src/modules/ims_charging/ims_ro.c
index 0a8c53f9d9..d93d565a65 100644
--- a/src/modules/ims_charging/ims_ro.c
+++ b/src/modules/ims_charging/ims_ro.c
@@ -858,7 +858,8 @@ void send_ccr_stop_with_param(struct ro_session *ro_session, unsigned
int code,
LM_DBG("Final used number of seconds for session is %ld\n", used);
}
- LM_DBG("Call started at %ld and ended at %ld and lasted %d seconds and so far we
have billed for %ld seconds\n", ro_session->start_time, stop_time,
+ LM_DBG("Call started at %" TIME_T_FMT " and ended at %"
TIME_T_FMT " and lasted %d seconds and so far we have billed for %ld
seconds\n",
+ TIME_T_CAST(ro_session->start_time), TIME_T_CAST(stop_time),
actual_time_seconds, ro_session->billed + used);
if (ro_session->billed + used < actual_time_seconds) {
LM_DBG("Making adjustment by adding %ld seconds\n", actual_time_seconds
- (ro_session->billed + used));