diff options
Diffstat (limited to 'src/mad.cpp')
-rw-r--r-- | src/mad.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mad.cpp b/src/mad.cpp index eba4125..f0dcdf2 100644 --- a/src/mad.cpp +++ b/src/mad.cpp @@ -17,7 +17,7 @@ * with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "Net/ClientConnection.h" +#include "Net/Connection.h" #include "Net/FdManager.h" #include "Net/IPAddress.h" #include "Common/ConfigManager.h" @@ -25,6 +25,7 @@ #include "Common/Logger.h" #include "Common/ModuleManager.h" #include "Common/RequestManager.h" +#include "Common/ClientConnection.h" #include "Common/RequestHandlers/FSInfoRequestHandler.h" #include "Common/RequestHandlers/StatusRequestHandler.h" #include "Daemon/Backends/NetworkLogger.h" @@ -53,7 +54,7 @@ int main() { Common::RequestManager::get()->registerPacketType<Common::RequestHandlers::FSInfoRequestHandler>("FSInfo"); Common::RequestManager::get()->registerPacketType<Common::RequestHandlers::StatusRequestHandler>("GetStatus"); - Net::ClientConnection *connection = new Net::ClientConnection; + Common::ClientConnection *connection = new Common::ClientConnection; try { connection->connect(Net::IPAddress("127.0.0.1"), true); |