diff --git a/src/client.cpp b/src/client.cpp index b33b06de..7f0c8bec 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -904,6 +904,7 @@ void procSearchReply(ContextImpl& self, const SockAddr& src, uint8_t peerVersion chan->conn = Connection::build(self.shared_from_this(), serv); chan->conn->pending[chan->cid] = chan; + chan->nSearch = 0u; chan->state = Channel::Connecting; chan->conn->createChannels();