dovecot-1.2: maildir: Handling keywords was more or less broken ...

dovecot at dovecot.org dovecot at dovecot.org
Mon Jan 26 21:13:28 EET 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/80486913baf3
changeset: 8690:80486913baf3
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jan 26 14:13:23 2009 -0500
description:
maildir: Handling keywords was more or less broken because of a broken sort compare function.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/maildir/maildir-sync-index.c |    2 +-

diffs (12 lines):

diff -r 21d797789179 -r 80486913baf3 src/lib-storage/index/maildir/maildir-sync-index.c
--- a/src/lib-storage/index/maildir/maildir-sync-index.c	Sun Jan 25 20:13:34 2009 -0500
+++ b/src/lib-storage/index/maildir/maildir-sync-index.c	Mon Jan 26 14:13:23 2009 -0500
@@ -284,7 +284,7 @@ static int uint_cmp(const void *p1, cons
 	if (*i1 < *i2)
 		return -1;
 	else if (*i1 > *i2)
-		return -1;
+		return 1;
 	else
 		return 0;
 }


More information about the dovecot-cvs mailing list