[dovecot-cvs] dovecot/src/lib-imap imap-envelope.c,1.32,1.33

cras at dovecot.org cras at dovecot.org
Thu Jan 6 20:14:30 EET 2005


Update of /var/lib/cvs/dovecot/src/lib-imap
In directory talvi:/tmp/cvs-serv30594/lib-imap

Modified Files:
	imap-envelope.c 
Log Message:
Added rfc822 parser which will probably replace message_tokenizer at some
point. Rewrote address parsing with the new parser. This fixes various bugs
in it.



Index: imap-envelope.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-imap/imap-envelope.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- imap-envelope.c	21 Sep 2003 16:21:37 -0000	1.32
+++ imap-envelope.c	6 Jan 2005 18:14:28 -0000	1.33
@@ -145,7 +145,8 @@
 
 	if (addr_p != NULL) {
 		*addr_p = message_address_parse(pool, hdr->full_value,
-						hdr->full_value_len, 0);
+						hdr->full_value_len,
+						(unsigned int)-1);
 	}
 
 	if (str_p != NULL)



More information about the dovecot-cvs mailing list