summaryrefslogtreecommitdiff
path: root/src/main.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/main.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/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 500a46b4..bdc3941c 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>
@@ -976,7 +976,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;