Skip to content

Commit

Permalink
global: Update script client version number
Browse files Browse the repository at this point in the history
Broken by b383ed5
  • Loading branch information
cmouse authored and villesavolainen committed May 31, 2017
1 parent 8acbc67 commit 2518005
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/plugins/fts/fts-parser-script.c
Expand Up @@ -15,7 +15,7 @@
#define SCRIPT_USER_CONTEXT(obj) \
MODULE_CONTEXT(obj, fts_parser_script_user_module)

#define SCRIPT_HANDSHAKE "VERSION\tscript\t3\t0\nalarm=10\nnoreply\n"
#define SCRIPT_HANDSHAKE "VERSION\tscript\t4\t0\nalarm=10\nnoreply\n"

struct content {
const char *content_type;
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/mail-filter/istream-ext-filter.c
Expand Up @@ -173,7 +173,7 @@ static int filter_connect(struct mail_filter_istream *mstream,
mstream->ext_out = o_stream_create_fd(fd, 0, FALSE);

str = t_str_new(256);
str_append(str, "VERSION\tscript\t3\t0\nnoreply\n");
str_append(str, "VERSION\tscript\t4\t0\nnoreply\n");
for (; *argv != NULL; argv++) {
str_append(str, *argv);
str_append_c(str, '\n');
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/mail-filter/ostream-ext-filter.c
Expand Up @@ -146,7 +146,7 @@ static int filter_connect(struct mail_filter_ostream *mstream,
mstream->ext_out = o_stream_create_fd(fd, 0, FALSE);

str = t_str_new(256);
str_append(str, "VERSION\tscript\t3\t0\nnoreply\n");
str_append(str, "VERSION\tscript\t4\t0\nnoreply\n");
for (; *argv != NULL; argv++) {
str_append(str, *argv);
str_append_c(str, '\n');
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/welcome/welcome-plugin.c
Expand Up @@ -52,7 +52,7 @@ static void script_execute(struct mail_user *user, const char *cmd, bool wait)
}

str = t_str_new(1024);
str_append(str, "VERSION\tscript\t3\t0\n");
str_append(str, "VERSION\tscript\t4\t0\n");
if (!wait)
str_append(str, "noreply\n");
else
Expand Down

0 comments on commit 2518005

Please sign in to comment.