dsync: Fix to checking which side should do the locking.
dsync: Fix to checking which side should do the locking.

LTD-Beget/dovecot,LTD-Beget/dovecot,LTD-Beget/dovecot,LTD-Beget/dovecot,LTD-Beget/dovecot