diff --git a/src/dht_proxy_client.cpp b/src/dht_proxy_client.cpp index 22aa5e8f534f35fdfc7b87b0a0af4f00d3b7c635..6874d6cd8683082208447d4fcffdfa159b65dbe5 100644 --- a/src/dht_proxy_client.cpp +++ b/src/dht_proxy_client.cpp @@ -1045,7 +1045,7 @@ DhtProxyClient::resubscribe(const InfoHash& key, Listener& listener) } }, settings).get(); auto& s = *state; - if (s.ok and not s.cancel) + if (not s.ok and not s.cancel) opFailed(); }); #endif