[dovecot-cvs] dovecot/src/lib-storage/index index-search.c, 1.98, 1.99

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


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

Modified Files:
	index-search.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: index-search.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-search.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -d -r1.98 -r1.99
--- index-search.c	26 Dec 2004 09:12:41 -0000	1.98
+++ index-search.c	6 Jan 2005 18:14:29 -0000	1.99
@@ -367,7 +367,7 @@
 			addr = message_address_parse(pool_datastack_create(),
 						     ctx->hdr->full_value,
 						     ctx->hdr->full_value_len,
-						     0);
+						     (unsigned int)-1);
 			str = t_str_new(ctx->hdr->value_len);
 			message_address_write(str, addr);
 			ret = message_header_search(str_data(str), str_len(str),



More information about the dovecot-cvs mailing list