Mercurial > dovecot > original-hg > dovecot-1.2
changeset 3979:f209b3fc77e4 HEAD
Keyword comparing still didn't work perfectly when there were no keywords.
This caused some extra unnecessary keyword changes.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 05 Feb 2006 09:52:42 +0200 |
parents | 6f21ccb60df4 |
children | 90638cc0d4e4 |
files | src/lib-storage/index/index-sync.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/index-sync.c Sun Feb 05 09:24:37 2006 +0200 +++ b/src/lib-storage/index/index-sync.c Sun Feb 05 09:52:42 2006 +0200 @@ -279,7 +279,7 @@ if (!array_is_created(k1)) return !array_is_created(k2) || array_count(k2) == 0; if (!array_is_created(k2)) - return FALSE; + return array_count(k1) == 0; /* The arrays may not be sorted, but they usually are. Optimize for the assumption that they are */