Skip to content

Commit

Permalink
auth_identity: use TIME_T_FMT
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Kemper <[email protected]>
  • Loading branch information
micmac1 authored and miconda committed Nov 3, 2021
1 parent bfe95c9 commit e757141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/auth_identity/auth_identity.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit e757141

Please sign in to comment.