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/main.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/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index a6ddd597..06ec2f75 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -81,7 +81,7 @@ #include "resources/resourcemanager.h" #include "utils/gettext.h" -#include "utils/tostring.h" +#include "utils/stringutils.h" #ifdef __APPLE__ #include <CoreFoundation/CFBundle.h> @@ -964,7 +964,7 @@ int main(int argc, char *argv[]) if (n_server == 1) { SERVER_INFO *si = *server_info; - loginData.hostname = iptostring(si->address); + loginData.hostname = ipToString(si->address); loginData.port = si->port; loginData.updateHost = si->updateHost; state = UPDATE_STATE; |