From 064fe96f766796a16a25ede7043e02d0e0abd51c Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 21 Jun 2016 22:08:25 +0300 Subject: [PATCH] welcome plugin: -Wstrict-bool warning fix --- src/plugins/welcome/welcome-plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/welcome/welcome-plugin.c b/src/plugins/welcome/welcome-plugin.c index 715529351f..090219c9a2 100644 --- a/src/plugins/welcome/welcome-plugin.c +++ b/src/plugins/welcome/welcome-plugin.c @@ -29,7 +29,7 @@ static void script_execute(struct mail_user *user, const char *cmd, bool wait) int fd, ret; if (user->mail_debug) - i_debug("welcome: Executing %s (wait=%d)", cmd, wait); + i_debug("welcome: Executing %s (wait=%d)", cmd, wait ? 1 : 0); args = t_strsplit_spaces(cmd, " "); socket_path = args[0]; -- 2.47.3