[dovecot-cvs] dovecot/src/lib-mail message-parser.c,1.20,1.21

cras at procontrol.fi cras at procontrol.fi
Fri Oct 25 05:57:22 EEST 2002


Update of /home/cvs/dovecot/src/lib-mail
In directory danu:/tmp/cvs-serv27908/lib-mail

Modified Files:
	message-parser.c 
Log Message:
More (char *) -> (const char *) fixes



Index: message-parser.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-mail/message-parser.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- message-parser.c	13 Oct 2002 23:49:12 -0000	1.20
+++ message-parser.c	25 Oct 2002 01:57:20 -0000	1.21
@@ -468,8 +468,8 @@
 			    msg[line_start+1] == '-') {
 				/* possible boundary */
 				boundary = boundary_find(boundaries,
-						(char *) msg + line_start + 2,
-						i - line_start - 2);
+					(const char *) msg + line_start + 2,
+					i - line_start - 2);
 				if (boundary != NULL)
 					break;
 			}
@@ -493,8 +493,8 @@
 			   70 chars without "--" or less. We allow
 			   a bit larger.. */
 			boundary = boundary_find(boundaries,
-						 (char *) msg + line_start + 2,
-						 i - line_start - 2);
+					(const char *) msg + line_start + 2,
+					i - line_start - 2);
 			if (boundary != NULL)
 				break;
 




More information about the dovecot-cvs mailing list