Browse code

auth_identity: use TIME_T_INT_FMT

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

Sebastian Kemper authored on 22/10/2021 23:28:45
Showing 1 changed files
... ...
@@ -591,7 +591,7 @@ static int check_date(struct sip_msg* msg, char* srt1, char* str2)
591 591
 	}
592 592
 
593 593
 	if (tnow > tmsg + glb_iauthval) {
594
-		LOG(L_INFO, "AUTH_IDENTITY VERIFIER: Outdated date header value (%ld sec)\n", tnow - tmsg + glb_iauthval);
594
+		LOG(L_INFO, "AUTH_IDENTITY VERIFIER: Outdated date header value (%" TIME_T_INT_FMT " sec)\n", tnow - tmsg + glb_iauthval);
595 595
 		return -4;
596 596
 	} else
597 597
 		LOG(AUTH_DBG_LEVEL, "AUTH_IDENTITY VERIFIER: Date header value OK\n");