[dovecot-cvs] dovecot/src/lib-mail message-parser.c,1.61,1.62

cras at dovecot.org cras at dovecot.org
Tue Sep 7 17:24:48 EEST 2004


Update of /var/lib/cvs/dovecot/src/lib-mail
In directory talvi:/tmp/cvs-serv18688

Modified Files:
	message-parser.c 
Log Message:
fix for last fix..



Index: message-parser.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-mail/message-parser.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- message-parser.c	7 Sep 2004 14:23:25 -0000	1.61
+++ message-parser.c	7 Sep 2004 14:24:46 -0000	1.62
@@ -760,7 +760,7 @@
 			/* a) line is larger than input buffer
 			   b) header ended unexpectedly */
 			if (colon_pos == UINT_MAX && ret == -2 &&
-			    !line->continues) {
+			    !line->continued) {
 				/* header name is huge. just skip it. */
 				message_skip_line(ctx->input, ctx->hdr_size,
 						  TRUE, &ctx->has_nuls);
@@ -771,7 +771,7 @@
 			if (ret == -2) {
 				/* go back to last LWSP if found. */
 				size_t min_pos =
-					!line->continues ? colon_pos : 0;
+					!line->continued ? colon_pos : 0;
 				for (i = size-1; i > min_pos; i--) {
 					if (IS_LWSP(msg[i])) {
 						size = i;



More information about the dovecot-cvs mailing list