[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-mail.c, 1.36, 1.37

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


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

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



Index: mbox-mail.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-mail.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- mbox-mail.c	15 Oct 2006 10:36:27 -0000	1.36
+++ mbox-mail.c	15 Dec 2006 16:55:47 -0000	1.37
@@ -209,10 +209,9 @@
 						   offset, (uoff_t)-1);
 		data->stream =
 			i_stream_create_header_filter(raw_stream,
-						      HEADER_FILTER_EXCLUDE,
-						      mbox_hide_headers,
-						      mbox_hide_headers_count,
-						      NULL, NULL);
+				HEADER_FILTER_EXCLUDE,
+				mbox_hide_headers, mbox_hide_headers_count,
+				null_header_filter_callback, NULL);
 		i_stream_unref(&raw_stream);
 	}
 



More information about the dovecot-cvs mailing list