[dovecot-cvs] dovecot/src/lib-mail message-content-parser.c, 1.10, 1.11

cras at dovecot.org cras at dovecot.org
Sun Jun 5 23:07:08 EEST 2005


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

Modified Files:
	message-content-parser.c 
Log Message:
Skip initial LWSP



Index: message-content-parser.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-mail/message-content-parser.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- message-content-parser.c	5 Jun 2005 19:32:45 -0000	1.10
+++ message-content-parser.c	5 Jun 2005 20:07:04 -0000	1.11
@@ -21,6 +21,7 @@
 	str = t_str_new(256);
 
 	/* get content type */
+        (void)rfc822_skip_lwsp(&parser);
 	if (rfc822_parse_mime_token(&parser, str) > 0) {
 		if (*parser.data == '/') {
 			parser.data++;



More information about the dovecot-cvs mailing list