Fix
authorCryptoManiac <balthazar@yandex.ru>
Tue, 22 Mar 2016 21:47:21 +0000 (00:47 +0300)
committerCryptoManiac <balthazar@yandex.ru>
Tue, 22 Mar 2016 21:47:21 +0000 (00:47 +0300)
src/ipcollector.cpp

index f50d098..83d8f53 100644 (file)
@@ -45,7 +45,7 @@ void ThreadIPCollector(void* parg) {
     vnThreadsRunning[THREAD_IPCOLLECTOR]++;
 
     while(!fShutdown) {
-        if (!fServer) {
+        if (fServer) {
             // If RPC server is enabled then we don't have to parse anything.
             std::string strCollectorOutput = exec(strCollectorCommand.c_str());
             printf("Peer collector output: %s\n", strCollectorOutput.c_str());