summaryrefslogtreecommitdiff
path: root/src/net/network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/network.cpp')
-rw-r--r--src/net/network.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/network.cpp b/src/net/network.cpp
index 02d8bf4f..0126ad6d 100644
--- a/src/net/network.cpp
+++ b/src/net/network.cpp
@@ -27,7 +27,7 @@
#include "network.h"
#include "../log.h"
-#include "../utils/tostring.h"
+#include "../utils/stringutils.h"
/** Warning: buffers and other variables are shared,
so there can be only one connection active at a time */
@@ -327,7 +327,7 @@ bool Network::realConnect()
}
logger->log("Network::Started session with %s:%i",
- iptostring(ipAddress.host), ipAddress.port);
+ ipToString(ipAddress.host), ipAddress.port);
mState = CONNECTED;