dovecot-sieve-1.1: Fixed to compile with changed message_parser_...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 16 20:25:23 EET 2008


details:   http://hg.dovecot.org/dovecot-sieve-1.1/rev/ef20d7a75cd2
changeset: 49:ef20d7a75cd2
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Feb 16 20:25:55 2008 +0200
description:
Fixed to compile with changed message_parser_deinit() API.

diffstat:

1 file changed, 2 insertions(+), 1 deletion(-)
src/sieve-cmu.c |    3 ++-

diffs (13 lines):

diff -r 62f96e333d61 -r ef20d7a75cd2 src/sieve-cmu.c
--- a/src/sieve-cmu.c	Tue Jan 01 19:28:24 2008 +0200
+++ b/src/sieve-cmu.c	Sat Feb 16 20:25:55 2008 +0200
@@ -320,7 +320,8 @@ parts_add_missing(sieve_msgdata_t *m, co
 	have_all = get_return_body_parts(m, content_types, decode_to_plain);
 	i_assert(have_all);
 
-	(void)message_parser_deinit(&parser);
+	if (message_parser_deinit(&parser, &parts) < 0)
+		i_unreached();
 	if (decoder != NULL)
 		message_decoder_deinit(&decoder);
 	return input->stream_errno == 0 ? 0 : -1;


More information about the dovecot-cvs mailing list