Mercurial > dovecot > core-2.2
changeset 21267:b60c7b697838
dsync: Fixed boolean expression in dsync_mailbox_import_deinit().
Found with Clang -Wstrict-bool.
author | Stephan Bosch <stephan.bosch@dovecot.fi> |
---|---|
date | Sat, 03 Dec 2016 20:48:30 +0100 |
parents | b861c0860dd2 |
children | 08bd444ec0c8 |
files | src/doveadm/dsync/dsync-mailbox-import.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/doveadm/dsync/dsync-mailbox-import.c Tue Nov 29 23:18:56 2016 +0200 +++ b/src/doveadm/dsync/dsync-mailbox-import.c Sat Dec 03 20:48:30 2016 +0100 @@ -2858,7 +2858,7 @@ array_free(&importer->mail_requests); *last_common_uid_r = importer->last_common_uid; - if (!*changes_during_sync_r) { + if (*changes_during_sync_r == NULL) { *last_common_modseq_r = importer->remote_highest_modseq; *last_common_pvt_modseq_r = importer->remote_highest_pvt_modseq; } else {