[dovecot-cvs] dovecot/src/lib-storage/index index-mail.c, 1.111, 1.112

tss at dovecot.org tss at dovecot.org
Fri Dec 15 16:55:47 UTC 2006


Update of /var/lib/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv346/lib-storage/index

Modified Files:
	index-mail.c 
Log Message:
Added context parameter type safety checks for most callback APIs.



Index: index-mail.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-mail.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -d -r1.111 -r1.112
--- index-mail.c	2 Nov 2006 18:18:25 -0000	1.111
+++ index-mail.c	15 Dec 2006 16:55:44 -0000	1.112
@@ -597,7 +597,8 @@
 		data->save_bodystructure_body = FALSE;
 		data->parsed_bodystructure = TRUE;
 	} else {
-		message_parser_parse_body(data->parser_ctx, NULL, NULL);
+		message_parser_parse_body(data->parser_ctx,
+			null_message_part_header_callback, NULL);
 	}
 	index_mail_parse_body_finish(mail, field, FALSE);
 



More information about the dovecot-cvs mailing list