Fix infinite loop guard in case of duplicate UIDs

Authored by vkrause on Jun 1 2019, 8:29 AM.

Description

Fix infinite loop guard in case of duplicate UIDs

Summary:
In this case the prenodeByUid hash will not increase its size (thus not
fulfilling the outer loop condition), but an element is found nevertheless
(thus not triggering the loop guard). Now both use the same condition.

Reviewers: mlaurent

Reviewed By: mlaurent

Subscribers: kde-pim

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D21518

Details

Committed
vkrauseJun 2 2019, 8:32 AM
Reviewer
mlaurent
Differential Revision
D21518: Fix infinite loop guard in case of duplicate UIDs
Parents
R76:e1cbc621a4a6: Adapt to KCalCore::Person changes
Branches
Unknown
Tags
Unknown