From 61a07c35fc547ef7c2550df638bcbc6826415dc3 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Mon, 27 Jul 2015 14:30:34 -0400 Subject: [PATCH] Fix condition inverted by #463 This prevented new device inboxes (imagers) from being initialized --- Sources/Plasma/PubUtilLib/plVault/plVaultClientApi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Plasma/PubUtilLib/plVault/plVaultClientApi.cpp b/Sources/Plasma/PubUtilLib/plVault/plVaultClientApi.cpp index 9e271f1f..57c55a98 100644 --- a/Sources/Plasma/PubUtilLib/plVault/plVaultClientApi.cpp +++ b/Sources/Plasma/PubUtilLib/plVault/plVaultClientApi.cpp @@ -3753,7 +3753,7 @@ hsRef VaultAgeSetDeviceInboxAndWait (const plString& deviceName, c // if we found the inbox or its a global inbox then return here, otherwise if its the default inbox and // it wasn't found then continue on and create the inbox hsRef existing = VaultAgeGetDeviceInbox(deviceName); - if (existing || inboxName == DEFAULT_DEVICE_INBOX) + if (existing || inboxName != DEFAULT_DEVICE_INBOX) return existing; hsRef device, inbox;