dovecot: Last change broke fetching keywords

dovecot at dovecot.org dovecot at dovecot.org
Sat Dec 29 18:01:25 EET 2007


details:   http://hg.dovecot.org/dovecot/rev/f9fa0f38cb0e
changeset: 7063:f9fa0f38cb0e
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Dec 29 18:01:19 2007 +0200
description:
Last change broke fetching keywords

diffstat:

1 file changed, 1 insertion(+)
src/imap/commands-util.c |    1 +

diffs (11 lines):

diff -r 36402809db43 -r f9fa0f38cb0e src/imap/commands-util.c
--- a/src/imap/commands-util.c	Sat Dec 29 16:57:08 2007 +0200
+++ b/src/imap/commands-util.c	Sat Dec 29 18:01:19 2007 +0200
@@ -311,6 +311,7 @@ client_get_keyword_names(struct client *
 	kw_indexes = array_get(src, &kw_count);
 
 	/* convert indexes to names */
+	array_clear(dest);
 	for (i = 0; i < kw_count; i++) {
 		i_assert(kw_indexes[i] < all_count);
 		array_append(dest, &all_names[kw_indexes[i]], 1);


More information about the dovecot-cvs mailing list