diff --git a/src/peer_discovery.cpp b/src/peer_discovery.cpp
index cb6444523e8a1e5fd7e7fd0c7b27e1067e2427a2..56ccad965b82240079297d7252899e513e6041f9 100644
--- a/src/peer_discovery.cpp
+++ b/src/peer_discovery.cpp
@@ -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++) {