[dovecot-cvs] dovecot/src/lib-storage/index index-search.c, 1.119, 1.120 index-sort.c, 1.15, 1.16

tss at dovecot.org tss at dovecot.org
Sun Oct 8 20:22:35 UTC 2006


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

Modified Files:
	index-search.c index-sort.c 
Log Message:
Added fill_missing parameter to message_address_parse() which specifies if
missing mailbox and domain should be returned as MISSING_MAILBOX and
MISSING_DOMAIN or just as empty strings.



Index: index-search.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-search.c,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -d -r1.119 -r1.120
--- index-search.c	17 Sep 2006 16:22:32 -0000	1.119
+++ index-search.c	8 Oct 2006 19:22:33 -0000	1.120
@@ -395,7 +395,7 @@
 			addr = message_address_parse(pool_datastack_create(),
 						     ctx->hdr->full_value,
 						     ctx->hdr->full_value_len,
-						     (unsigned int)-1);
+						     (unsigned int)-1, TRUE);
 			str = t_str_new(ctx->hdr->value_len);
 			message_address_write(str, addr);
 			ret = message_header_search(str_data(str), str_len(str),

Index: index-sort.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-sort.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- index-sort.c	10 Sep 2006 12:48:25 -0000	1.15
+++ index-sort.c	8 Oct 2006 19:22:33 -0000	1.16
@@ -163,7 +163,7 @@
 
 	addr = message_address_parse(pool_datastack_create(),
 				     (const unsigned char *)str,
-				     strlen(str), 1);
+				     strlen(str), 1, TRUE);
 	return addr != NULL ? addr->mailbox : "";
 }
 



More information about the dovecot-cvs mailing list