Skip to content

Commit

Permalink
lib-sieve: util: program-client: Fixed a bool vs. int/pointer mixup.
Browse files Browse the repository at this point in the history
Found with clang -Wstrict-bool.
  • Loading branch information
stephanbosch committed Aug 25, 2016
1 parent 8e0367b commit ee3a655
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib-sieve/util/program-client.c
Expand Up @@ -110,7 +110,8 @@ static void program_client_disconnect_extra_fds
static void program_client_disconnect
(struct program_client *pclient, bool force)
{
int ret, error = FALSE;
bool error = FALSE;
int ret;

if ( pclient->ioloop != NULL )
io_loop_stop(pclient->ioloop);
Expand Down

0 comments on commit ee3a655

Please sign in to comment.