]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
welcome plugin: -Wstrict-bool warning fix
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 21 Jun 2016 19:08:25 +0000 (22:08 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 28 Jun 2016 07:08:41 +0000 (10:08 +0300)
src/plugins/welcome/welcome-plugin.c

index 715529351fa79f302491024553c9dd80bc73b2e6..090219c9a2b0d0d615f7182e8e8395c74ee2caba 100644 (file)
@@ -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];