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

dovecot at dovecot.org dovecot at dovecot.org
Mon Jan 26 21:11:52 EET 2009


details:   http://hg.dovecot.org/dovecot-1.1/rev/f9b8b02b185d
changeset: 8132:f9b8b02b185d
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jan 26 14:11:44 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 22c279ca3bb4 -r f9b8b02b185d src/lib-storage/index/maildir/maildir-sync-index.c
--- a/src/lib-storage/index/maildir/maildir-sync-index.c	Sun Jan 25 21:09:59 2009 -0500
+++ b/src/lib-storage/index/maildir/maildir-sync-index.c	Mon Jan 26 14:11:44 2009 -0500
@@ -282,7 +282,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