]> 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)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Tue, 13 Jun 2017 14:06:27 +0000 (17:06 +0300)
Broken by f38b0dafbffa9d79542e36b4b3e598ed4115e5a3

src/plugins/welcome/welcome-plugin.c

index 6165a6e484d2f5ec452ff57c93934a7363095969..6f9dd934731bd9db74b7c67c406ce51c72678d52 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');