Mercurial > dovecot > core-2.2
changeset 21337:1dd0c6ab307e
lib-imap-client: Fixed boolean vs integer mixup in debug message format argument.
Found with Clang -Wstrict-bool.
author | Stephan Bosch <stephan.bosch@dovecot.fi> |
---|---|
date | Sat, 17 Dec 2016 20:03:46 +0100 |
parents | fdb33b075caa |
children | bc57c62167fc |
files | src/lib-imap-client/imapc-connection.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-imap-client/imapc-connection.c Fri Dec 16 23:38:58 2016 +0100 +++ b/src/lib-imap-client/imapc-connection.c Sat Dec 17 20:03:46 2016 +0100 @@ -1742,8 +1742,9 @@ if (conn->client->set.debug) { i_debug("imapc(%s): Looking up IP address " - "(reconnect_ok=%d, last_connect=%ld)", conn->name, - conn->reconnect_ok, (long)conn->last_connect); + "(reconnect_ok=%s, last_connect=%ld)", conn->name, + (conn->reconnect_ok ? "true" : "false"), + (long)conn->last_connect); } memset(&dns_set, 0, sizeof(dns_set));