diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-03-21 13:31:03 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-03-21 13:31:03 +0100 |
commit | c07b837dbad1ac176a6c18062dab9184e7080309 (patch) | |
tree | 277d5f7c06e2e71b25a9b9619917f04158b789e8 /src/madc.cpp | |
parent | 8f098fc3070f791302ec1f497588fab6ed409980 (diff) | |
download | mad-c07b837dbad1ac176a6c18062dab9184e7080309.tar mad-c07b837dbad1ac176a6c18062dab9184e7080309.zip |
Net::Connection-Klasse zur besseren Strukturierung gekapselt
Diffstat (limited to 'src/madc.cpp')
-rw-r--r-- | src/madc.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/madc.cpp b/src/madc.cpp index ac3b3a3..51259b3 100644 --- a/src/madc.cpp +++ b/src/madc.cpp @@ -17,9 +17,10 @@ * 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/ClientConnection.h" #include "Common/ConfigManager.h" #include "Common/LogManager.h" #include "Common/Logger.h" @@ -83,7 +84,7 @@ int main(int argc, char *argv[]) { Common::ConfigManager::get()->finish(); - Net::ClientConnection *connection = new Net::ClientConnection; + Common::ClientConnection *connection = new Common::ClientConnection; try { connection->connect(Net::IPAddress(argv[1])); |