Module: kamailio
Branch: master
Commit: e75714181c907758d1793abb85258020337249d4
URL:
https://github.com/kamailio/kamailio/commit/e75714181c907758d1793abb8525802…
Author: Sebastian Kemper <sebastian_ml(a)gmx.net>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-11-03T13:03:34+01:00
auth_identity: use TIME_T_FMT
Signed-off-by: Sebastian Kemper <sebastian_ml(a)gmx.net>
---
Modified: src/modules/auth_identity/auth_identity.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e75714181c907758d1793abb8525802…
Patch:
https://github.com/kamailio/kamailio/commit/e75714181c907758d1793abb8525802…
---
diff --git a/src/modules/auth_identity/auth_identity.c
b/src/modules/auth_identity/auth_identity.c
index 63aae1620b..4b4bb4bb08 100644
--- a/src/modules/auth_identity/auth_identity.c
+++ b/src/modules/auth_identity/auth_identity.c
@@ -591,7 +591,7 @@ static int check_date(struct sip_msg* msg, char* srt1, char* str2)
}
if (tnow > tmsg + glb_iauthval) {
- LOG(L_INFO, "AUTH_IDENTITY VERIFIER: Outdated date header value (%ld sec)\n",
tnow - tmsg + glb_iauthval);
+ LOG(L_INFO, "AUTH_IDENTITY VERIFIER: Outdated date header value (%"
TIME_T_FMT " sec)\n", TIME_T_CAST(tnow - tmsg + glb_iauthval));
return -4;
} else
LOG(AUTH_DBG_LEVEL, "AUTH_IDENTITY VERIFIER: Date header value OK\n");