Browse Source

Fix misplaced return value.

The "wait for server response" return value was short-circuiting the
"already done" value. The previous commit fixed always needing a new
instance, exposing this problem.
tickets/24/24/1
Adam Johnson 3 years ago
parent
commit
c65b062e0f
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 3
      Sources/Plasma/PubUtilLib/plVault/plVaultClientApi.cpp

3
Sources/Plasma/PubUtilLib/plVault/plVaultClientApi.cpp

@ -4964,11 +4964,12 @@ UInt8 VaultAgeFindOrCreateChildAgeLink(
nil, nil,
p p
); );
retval = FALSE;
} }
temp->DecRef(); temp->DecRef();
rvnChildAges->DecRef(); rvnChildAges->DecRef();
retval = FALSE;
} }
rvnParentInfo->DecRef(); rvnParentInfo->DecRef();

Loading…
Cancel
Save