Mercurial > dovecot > core-2.2
changeset 20928:c8f313b25bdd
lib-program-client: Fixed boolean expressions.
Problems found with clang -Wstrict-bool.
author | Stephan Bosch <stephan.bosch@dovecot.fi> |
---|---|
date | Thu, 20 Oct 2016 15:46:01 +0200 |
parents | 12bc0868ef0e |
children | 2c626fd876ad |
files | src/lib-program-client/program-client-local.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-program-client/program-client-local.c Thu Oct 20 16:30:58 2016 +0300 +++ b/src/lib-program-client/program-client-local.c Thu Oct 20 15:46:01 2016 +0200 @@ -476,7 +476,7 @@ struct program_client_local *slclient = (struct program_client_local *)pclient; - if (slclient->to_kill) + if (slclient->to_kill != NULL) slclient->to_kill = io_loop_move_timeout(&slclient->to_kill); lib_signals_reset_ioloop(); }