Browse code

ims_icscf: use TIME_T_INT_FMT

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>

Sebastian Kemper authored on 22/10/2021 23:42:05
Showing 1 changed files
... ...
@@ -586,7 +586,7 @@ void ims_icscf_timer_routine() {
586 586
             sl = l->list;
587 587
             while (sl) {
588 588
 
589
-                LM_DBG("INF: Score:[%4d] Start_time [%ld] S-CSCF: <%.*s> \n",
589
+                LM_DBG("INF: Score:[%4d] Start_time [%" TIME_T_INT_FMT "] S-CSCF: <%.*s> \n",
590 590
                         sl->score,
591 591
                         sl->start_time,
592 592
                         sl->scscf_name.len, sl->scscf_name.s);
... ...
@@ -594,7 +594,7 @@ void ims_icscf_timer_routine() {
594 594
                 time_t time_elapsed = now - sl->start_time;
595 595
                 if (time_elapsed > scscf_entry_expiry) {
596 596
 
597
-                    LM_DBG("Scscf entry expired: Time now %ld Start time %ld - elapsed %ld\n", now, sl->start_time, time_elapsed);
597
+                    LM_DBG("Scscf entry expired: Time now %" TIME_T_INT_FMT " Start time %" TIME_T_INT_FMT " - elapsed %" TIME_T_INT_FMT "\n", now, sl->start_time, time_elapsed);
598 598
                     delete_list = 1; //if any of the entries in this list have expired remove the whole list!
599 599
 
600 600
                 }