From: Aki Tuomi Date: Tue, 30 May 2017 11:01:17 +0000 (+0300) Subject: global: Update script client version number X-Git-Tag: 2.2.31.rc1~165 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=39544cfbe65b939d202ea6adff2036e638bb96b2;p=thirdparty%2Fdovecot%2Fcore.git global: Update script client version number Broken by b383ed51d75bce0f69f126bc4ff7192985ca30f2 --- diff --git a/src/plugins/fts/fts-parser-script.c b/src/plugins/fts/fts-parser-script.c index 1cea6adfe6..6e69fde328 100644 --- a/src/plugins/fts/fts-parser-script.c +++ b/src/plugins/fts/fts-parser-script.c @@ -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; diff --git a/src/plugins/mail-filter/istream-ext-filter.c b/src/plugins/mail-filter/istream-ext-filter.c index 1ed55238e6..5bd90774f8 100644 --- a/src/plugins/mail-filter/istream-ext-filter.c +++ b/src/plugins/mail-filter/istream-ext-filter.c @@ -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'); diff --git a/src/plugins/mail-filter/ostream-ext-filter.c b/src/plugins/mail-filter/ostream-ext-filter.c index e3f0700352..4ebfce08af 100644 --- a/src/plugins/mail-filter/ostream-ext-filter.c +++ b/src/plugins/mail-filter/ostream-ext-filter.c @@ -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'); diff --git a/src/plugins/welcome/welcome-plugin.c b/src/plugins/welcome/welcome-plugin.c index fcb771e457..65c29a5d77 100644 --- a/src/plugins/welcome/welcome-plugin.c +++ b/src/plugins/welcome/welcome-plugin.c @@ -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