From aced8d1ece6c8383b47b812ce88c1592c2d2cf6c Mon Sep 17 00:00:00 2001 From: Lee *!* Clagett Date: Tue, 9 Dec 2025 22:56:09 -0500 Subject: [PATCH] Fix connect status check (introduced in d476d950) --- src/rpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc.cpp b/src/rpc.cpp index ac4cbb0..6e99778 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -100,7 +100,7 @@ namespace lwsf { namespace internal { namespace rpc if (!client.is_connected()) { - if (client.connect(config::connect_timeout)) + if (!client.connect(config::connect_timeout)) return {error::no_response}; }