From ec02e3b5cba33d0bea458d4c94397ebb7a46bd02 Mon Sep 17 00:00:00 2001
From: Stephan Bosch <stephan@rename-it.nl>
Date: Sun, 21 Aug 2016 12:02:20 +0200
Subject: [PATCH] managesieve: Fixed various bool vs. int mixups.

Found with clang -Wstrict-bool.
---
 src/managesieve/managesieve-client.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/managesieve/managesieve-client.c b/src/managesieve/managesieve-client.c
index e48c24389..7e05372a4 100644
--- a/src/managesieve/managesieve-client.c
+++ b/src/managesieve/managesieve-client.c
@@ -222,7 +222,7 @@ static const char *client_stats(struct client *client)
 
 void client_destroy(struct client *client, const char *reason)
 {
-	int ret;
+	bool ret;
 
  	i_assert(!client->handling_input);
 	i_assert(!client->destroyed);
@@ -640,7 +640,7 @@ static bool client_handle_input(struct client_command_context *cmd)
 void client_input(struct client *client)
 {
 	struct client_command_context *cmd = &client->cmd;
-	int ret;
+	bool ret;
 
 	if (client->command_pending) {
 		/* already processing one command. wait. */
-- 
GitLab