Skip to content

Commit

Permalink
lib-program-client: Fixed boolean expressions.
Browse files Browse the repository at this point in the history
Problems found with clang -Wstrict-bool.
  • Loading branch information
stephanbosch authored and sirainen committed Oct 20, 2016
1 parent 3459db0 commit 18a85e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib-program-client/program-client-local.c
Expand Up @@ -476,7 +476,7 @@ void program_client_local_switch_ioloop(struct program_client *pclient)
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();
}
Expand Down

0 comments on commit 18a85e2

Please sign in to comment.