[dovecot-cvs] dovecot/src/lib-storage mail-sort.c,1.6,1.7

cras at procontrol.fi cras at procontrol.fi
Sat Jan 4 19:26:32 EET 2003


Update of /home/cvs/dovecot/src/lib-storage
In directory danu:/tmp/cvs-serv386/lib-storage

Modified Files:
	mail-sort.c 
Log Message:
Use unsigned char* when accessing non-NUL terminating strings. Compiler
warnings would then notify about accidentally passing them to functions which
require them NUL-terminated. Changed a few functions to use void* to avoid
unneeded casting.



Index: mail-sort.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/mail-sort.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- mail-sort.c	21 Dec 2002 13:08:50 -0000	1.6
+++ mail-sort.c	4 Jan 2003 17:26:30 -0000	1.7
@@ -61,7 +61,7 @@
 
 static MailSortType
 mail_sort_get_common_mask(const MailSortType *input,
-			  const MailSortType **output)
+			  MailSortType **output)
 {
 	MailSortType mask = 0;
 




More information about the dovecot-cvs mailing list