[dovecot-cvs] dovecot/src/lib-mail rfc822-parser.c,1.1,1.2

cras at dovecot.org cras at dovecot.org
Thu Jan 13 19:52:20 EET 2005


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

Modified Files:
	rfc822-parser.c 
Log Message:
Quoted strings were parsed wrong.



Index: rfc822-parser.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-mail/rfc822-parser.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- rfc822-parser.c	6 Jan 2005 18:14:28 -0000	1.1
+++ rfc822-parser.c	13 Jan 2005 17:52:17 -0000	1.2
@@ -182,6 +182,7 @@
 	for (start = ctx->data; ctx->data != ctx->end; ctx->data++) {
 		if (*ctx->data == '"') {
 			str_append_n(str, start, ctx->data - start);
+			ctx->data++;
 			return rfc822_skip_lwsp(ctx);
 		}
 



More information about the dovecot-cvs mailing list