Skip to content

Commit

Permalink
dsync: Fixed boolean expression in dsync_mailbox_import_deinit().
Browse files Browse the repository at this point in the history
Found with Clang -Wstrict-bool.
  • Loading branch information
stephanbosch committed Dec 3, 2016
1 parent b1533bd commit db40a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doveadm/dsync/dsync-mailbox-import.c
Expand Up @@ -2856,7 +2856,7 @@ int dsync_mailbox_import_deinit(struct dsync_mailbox_importer **_importer,
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 {
Expand Down

0 comments on commit db40a9d

Please sign in to comment.