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}; }