]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dsync: Fixed syncing keyword removals.
authorTimo Sirainen <tss@iki.fi>
Thu, 31 Jan 2013 16:39:44 +0000 (18:39 +0200)
committerTimo Sirainen <tss@iki.fi>
Thu, 31 Jan 2013 16:39:44 +0000 (18:39 +0200)
src/doveadm/dsync/dsync-mailbox-import.c

index 942874ccb7c60bf84a3d8696c7c48ec41234d646..9f9a883ae784d8df402023fa5d4d90917f6eab2f 100644 (file)
@@ -688,7 +688,7 @@ merge_keywords(struct mail *mail, const ARRAY_TYPE(const_string) *local_changes,
                }
                if (change_remove[i] != 0) {
                        keywords_append(&remove_keywords, &all_keywords,
-                                       change_add[i], i*32);
+                                       change_remove[i], i*32);
                }
        }