Correct format string, fixing type error in specifier.

I was wondering why the error output did appear.
This commit is contained in:
Jim Hague 2018-12-12 14:59:13 +00:00
parent 35b4969216
commit 0dec4a6f21
1 changed files with 3 additions and 2 deletions

View File

@ -963,8 +963,9 @@ tls_do_handshake(getdns_upstream *upstream)
_getdns_upstream_log(upstream,
GETDNS_LOG_UPSTREAM_STATS,
( upstream->tls_fallback_ok
? GETDNS_LOG_INFO : GETDNS_LOG_ERR), "%-40s : Verify failed : TLS - %s - "
"(%d) \"%s\"\n", upstream->addr_str,
? GETDNS_LOG_INFO : GETDNS_LOG_ERR),
"%-40s : Verify failed : TLS - %s - "
"(%ld) \"%s\"\n", upstream->addr_str,
( upstream->tls_fallback_ok
? "Tolerated because of Opportunistic profile"
: "*Failure*" ),