]> granicus.if.org Git - icinga2/commitdiff
Build fix
authorGunnar Beutner <gunnar@beutner.name>
Tue, 23 Feb 2016 09:56:12 +0000 (10:56 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 23 Feb 2016 09:56:12 +0000 (10:56 +0100)
lib/remote/httpserverconnection.cpp
lib/remote/jsonrpcconnection.cpp

index 4125a75abc2db88171d80062667f19b31b0f3d71..d78ced453df7cb9d0c6ab19571827f4a841e3da0 100644 (file)
@@ -215,12 +215,6 @@ void HttpServerConnection::DataAvailableHandler(void)
 
        if (close)
                Disconnect();
-
-               return;
-       }
-
-       if (m_Stream->IsEof())
-               Disconnect();
 }
 
 void HttpServerConnection::CheckLiveness(void)
index 6bfd27ced85f4b7666fae1f9a2d3d71ae2b789fa..81911c30064efc46b640dd6405e900415828e560 100644 (file)
@@ -249,12 +249,6 @@ void JsonRpcConnection::DataAvailableHandler(void)
 
        if (close)
                Disconnect();
-
-               return;
-       }
-
-       if (m_Stream->IsEof())
-               Disconnect();
 }
 
 Value SetLogPositionHandler(const MessageOrigin::Ptr& origin, const Dictionary::Ptr& params)