]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
welcome: Fix sending parameters to welcome script.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 12 Jun 2017 09:44:37 +0000 (12:44 +0300)
committerGitLab <gitlab@git.dovecot.net>
Mon, 12 Jun 2017 12:22:41 +0000 (15:22 +0300)
Broken by f38b0dafbffa9d79542e36b4b3e598ed4115e5a3

src/plugins/welcome/welcome-plugin.c

index ae64f47b5a233ca1f6a94db066831322654d298b..998e954cec0d0d73d5fa18d5155d3557d168be25 100644 (file)
@@ -60,7 +60,7 @@ static void script_execute(struct mail_user *user, const char *cmd, bool wait)
                str_append(str, "-\n");
        for (; *args != NULL; args++) {
                str_append_tabescaped(str, *args);
-               str_append_c(str, '\t');
+               str_append_c(str, '\n');
        }
        str_append_c(str, '\n');