[sr-dev] git:master:e7571418: auth_identity: use TIME_T_FMT
Daniel-Constantin Mierla
miconda at gmail.com
Wed Nov 3 13:03:40 CET 2021
Module: kamailio
Branch: master
Commit: e75714181c907758d1793abb85258020337249d4
URL: https://github.com/kamailio/kamailio/commit/e75714181c907758d1793abb85258020337249d4
Author: Sebastian Kemper <sebastian_ml at gmx.net>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2021-11-03T13:03:34+01:00
auth_identity: use TIME_T_FMT
Signed-off-by: Sebastian Kemper <sebastian_ml at gmx.net>
---
Modified: src/modules/auth_identity/auth_identity.c
---
Diff: https://github.com/kamailio/kamailio/commit/e75714181c907758d1793abb85258020337249d4.diff
Patch: https://github.com/kamailio/kamailio/commit/e75714181c907758d1793abb85258020337249d4.patch
---
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");
More information about the sr-dev
mailing list