Skip to content
Snippets Groups Projects
Commit dbca1b6a authored by Stephan Bosch's avatar Stephan Bosch
Browse files

Updated to recent changes in Dovecot.

parent 6daa706c
No related branches found
No related tags found
No related merge requests found
......@@ -246,7 +246,7 @@ static bool ext_body_parts_add_missing
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);
......
......@@ -175,7 +175,7 @@ static buffer_t *cmd_notify_extract_body_text
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;
......
......@@ -105,9 +105,9 @@ static int sieve_dict_script_create
}
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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.