mirror of https://github.com/getdnsapi/getdns.git
Correct format string, fixing type error in specifier.
I was wondering why the error output did appear.
This commit is contained in:
parent
35b4969216
commit
0dec4a6f21
|
@ -963,8 +963,9 @@ tls_do_handshake(getdns_upstream *upstream)
|
||||||
_getdns_upstream_log(upstream,
|
_getdns_upstream_log(upstream,
|
||||||
GETDNS_LOG_UPSTREAM_STATS,
|
GETDNS_LOG_UPSTREAM_STATS,
|
||||||
( upstream->tls_fallback_ok
|
( upstream->tls_fallback_ok
|
||||||
? GETDNS_LOG_INFO : GETDNS_LOG_ERR), "%-40s : Verify failed : TLS - %s - "
|
? GETDNS_LOG_INFO : GETDNS_LOG_ERR),
|
||||||
"(%d) \"%s\"\n", upstream->addr_str,
|
"%-40s : Verify failed : TLS - %s - "
|
||||||
|
"(%ld) \"%s\"\n", upstream->addr_str,
|
||||||
( upstream->tls_fallback_ok
|
( upstream->tls_fallback_ok
|
||||||
? "Tolerated because of Opportunistic profile"
|
? "Tolerated because of Opportunistic profile"
|
||||||
: "*Failure*" ),
|
: "*Failure*" ),
|
||||||
|
|
Loading…
Reference in New Issue