dovecot-2.2-pigeonhole: Updated to recent changes in Dovecot.
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Tue Sep 18 12:59:53 EEST 2012
details: http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/e31e89e7791b
changeset: 1661:e31e89e7791b
user: Stephan Bosch <stephan at rename-it.nl>
date: Tue Sep 18 11:59:47 2012 +0200
description:
Updated to recent changes in Dovecot.
diffstat:
src/lib-sieve/plugins/body/ext-body-common.c | 2 +-
src/lib-sieve/plugins/notify/ext-notify-common.c | 2 +-
src/lib-sieve/sieve-script-dict.c | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diffs (40 lines):
diff -r dda9e3c21214 -r e31e89e7791b src/lib-sieve/plugins/body/ext-body-common.c
--- a/src/lib-sieve/plugins/body/ext-body-common.c Thu Sep 06 09:00:59 2012 +0200
+++ b/src/lib-sieve/plugins/body/ext-body-common.c Tue Sep 18 11:59:47 2012 +0200
@@ -246,7 +246,7 @@
buffer_set_used_size(ctx->tmp_buffer, 0);
/* Initialize body decoder */
- decoder = decode_to_plain ? message_decoder_init(FALSE) : NULL;
+ decoder = decode_to_plain ? message_decoder_init(NULL, 0) : NULL;
//parser = message_parser_init_from_parts(parts, input, 0,
//MESSAGE_PARSER_FLAG_INCLUDE_MULTIPART_BLOCKS);
diff -r dda9e3c21214 -r e31e89e7791b src/lib-sieve/plugins/notify/ext-notify-common.c
--- a/src/lib-sieve/plugins/notify/ext-notify-common.c Thu Sep 06 09:00:59 2012 +0200
+++ b/src/lib-sieve/plugins/notify/ext-notify-common.c Tue Sep 18 11:59:47 2012 +0200
@@ -175,7 +175,7 @@
return NULL;
/* Initialize body decoder */
- decoder = message_decoder_init(FALSE);
+ decoder = message_decoder_init(NULL, 0);
parser = message_parser_init(mctx->pool, input, 0, 0);
is_text = TRUE;
diff -r dda9e3c21214 -r e31e89e7791b src/lib-sieve/sieve-script-dict.c
--- a/src/lib-sieve/sieve-script-dict.c Thu Sep 06 09:00:59 2012 +0200
+++ b/src/lib-sieve/sieve-script-dict.c Tue Sep 18 11:59:47 2012 +0200
@@ -105,9 +105,9 @@
}
script->dict_uri = p_strdup(_script->pool, data);
- script->dict = dict_init
- (script->dict_uri, DICT_DATA_TYPE_STRING, username, svinst->base_dir);
- if ( script->dict == NULL ) {
+ ret = dict_init(script->dict_uri, DICT_DATA_TYPE_STRING, username,
+ svinst->base_dir, &script->dict);
+ if ( ret < 0 ) {
sieve_critical(svinst, ehandler, name, "failed to open sieve script",
"sieve dict backend: failed to initialize dict with data `%s' "
"for user `%s'", data, username);
More information about the dovecot-cvs
mailing list