diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-02-18 20:14:23 +0100 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-18 13:19:11 -0700 |
commit | c3f7f72f37adad5103587069ff549798fc9d652d (patch) | |
tree | df268b0bfd478cb3f4d740b1bce9a882bc70c538 /src/net/network.cpp | |
parent | b8f0e1755ae8c6acf9bc681a83f18ef6ff0a1172 (diff) | |
download | mana-c3f7f72f37adad5103587069ff549798fc9d652d.tar.gz mana-c3f7f72f37adad5103587069ff549798fc9d652d.tar.bz2 mana-c3f7f72f37adad5103587069ff549798fc9d652d.tar.xz mana-c3f7f72f37adad5103587069ff549798fc9d652d.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.cpp | 4 |
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; |