[dovecot-cvs] dovecot/src/lib-mail message-parser.c,1.34,1.35

cras at procontrol.fi cras at procontrol.fi
Fri Jan 31 08:11:27 EET 2003


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

Modified Files:
	message-parser.c 
Log Message:
Handle boundary=""



Index: message-parser.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-mail/message-parser.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- message-parser.c	27 Jan 2003 02:00:00 -0000	1.34
+++ message-parser.c	31 Jan 2003 06:11:25 -0000	1.35
@@ -479,7 +479,7 @@
 			if (msg[i] != '\n')
 				continue;
 
-			if (i > line_start+2 && msg[line_start] == '-' &&
+			if (i >= line_start+2 && msg[line_start] == '-' &&
 			    msg[line_start+1] == '-') {
 				/* possible boundary */
 				boundary = boundary_find(boundaries,




More information about the dovecot-cvs mailing list