Skip to content
Snippets Groups Projects
Commit 91e1e942 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

Update peer_discovery.cpp

parent ae89365f
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,7 @@ PeerDiscovery::DomainPeerDiscovery::loopListener()
msgpack::object obj = rcv.get();
if (obj.type == msgpack::type::STR) {
if (lrunning_ and obj.as<std::string>() == "q")
if (lrunning_ and obj.as<std::string>() == "q")
publish(receiveFrom_);
} else if (obj.type == msgpack::type::MAP) {
for (unsigned i = 0; i < obj.via.map.size; i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment