summaryrefslogtreecommitdiff
path: root/src/net/network.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-18 20:14:23 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-18 20:16:53 +0100
commit7e43b82e3b7cda034fab34c15ecfaa97c1a99146 (patch)
tree71e24c3ef685d95b8fdf6c548a46b8516915d339 /src/net/network.cpp
parent9568a305878d0c035e027c1ed6c9a24147a0adea (diff)
downloadmana-7e43b82e3b7cda034fab34c15ecfaa97c1a99146.tar.gz
mana-7e43b82e3b7cda034fab34c15ecfaa97c1a99146.tar.bz2
mana-7e43b82e3b7cda034fab34c15ecfaa97c1a99146.tar.xz
mana-7e43b82e3b7cda034fab34c15ecfaa97c1a99146.zip
Introduced a toLower method and grouped string utils
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
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 059da779..3fa046c4 100644
--- a/src/net/network.cpp
+++ b/src/net/network.cpp
@@ -26,7 +26,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 */
@@ -326,7 +326,7 @@ bool Network::realConnect()
}
logger->log("Network::Started session with %s:%i",
- iptostring(ipAddress.host), ipAddress.port);
+ ipToString(ipAddress.host), ipAddress.port);
mState = CONNECTED;