From 542711c7c0159118df3d5c2e7d48ac2d09a2e0d1 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sun, 17 Oct 2021 14:48:23 -0400 Subject: [PATCH] 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. --- Sources/Plasma/PubUtilLib/plVault/plVaultClientApi.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/Plasma/PubUtilLib/plVault/plVaultClientApi.cpp b/Sources/Plasma/PubUtilLib/plVault/plVaultClientApi.cpp index 8a2feac6..abd4a4b5 100644 --- a/Sources/Plasma/PubUtilLib/plVault/plVaultClientApi.cpp +++ b/Sources/Plasma/PubUtilLib/plVault/plVaultClientApi.cpp @@ -4964,11 +4964,12 @@ UInt8 VaultAgeFindOrCreateChildAgeLink( nil, p ); + + retval = FALSE; } temp->DecRef(); rvnChildAges->DecRef(); - retval = FALSE; } rvnParentInfo->DecRef();