diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-08-25 21:07:28 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-08-25 21:07:28 +0000 |
commit | 941e0cfda282b2461e500fcdf5828a7e20bf6da6 (patch) | |
tree | 16b392cb9c57fefc621084c011ec0b724e84d128 /src/gui/char_select.cpp | |
parent | 9ba130f4628d8e52ebd50b810e761a81f69c0c4a (diff) | |
download | mana-941e0cfda282b2461e500fcdf5828a7e20bf6da6.tar.gz mana-941e0cfda282b2461e500fcdf5828a7e20bf6da6.tar.bz2 mana-941e0cfda282b2461e500fcdf5828a7e20bf6da6.tar.xz mana-941e0cfda282b2461e500fcdf5828a7e20bf6da6.zip |
Adding min and max length check for password, more code cleanups in login and removing possible buffer overflows by replacing some global char[] by std::strings.
Diffstat (limited to 'src/gui/char_select.cpp')
-rw-r--r-- | src/gui/char_select.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp index 6c8a844b..de01a571 100644 --- a/src/gui/char_select.cpp +++ b/src/gui/char_select.cpp @@ -247,7 +247,7 @@ void CharSelectDialog::serverCharSelect() map_port = RFIFOW(26); state = GAME; - logger->log("CharSelect: Map: %s", map_name); + logger->log("CharSelect: Map: %s", map_name.c_str()); logger->log("CharSelect: Server: %s:%d", iptostring(map_address), map_port); RFIFOSKIP(28); close_session(); |