Skip to content

Commit

Permalink
welcome: tabescape args, this is required by script client 4
Browse files Browse the repository at this point in the history
  • Loading branch information
cmouse authored and villesavolainen committed May 31, 2017
1 parent 39544cf commit 9ce9152
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/plugins/welcome/welcome-plugin.c
Expand Up @@ -3,6 +3,7 @@
#include "lib.h"
#include "net.h"
#include "str.h"
#include "strescape.h"
#include "eacces-error.h"
#include "write-full.h"
#include "module-context.h"
Expand Down Expand Up @@ -58,8 +59,8 @@ static void script_execute(struct mail_user *user, const char *cmd, bool wait)
else
str_append(str, "-\n");
for (; *args != NULL; args++) {
str_append(str, *args);
str_append_c(str, '\n');
str_append_tabescaped(str, *args);
str_append_c(str, '\t');
}
str_append_c(str, '\n');

Expand Down

0 comments on commit 9ce9152

Please sign in to comment.