summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-04 17:44:21 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-18 13:29:25 +0300
commit7603ea174c2d44cafee2b8aa833f80114c045500 (patch)
tree44d7d174116280902c171aa83309d7497f4f96a2 /src/map
parent4ac673941714032ada6d26fb60936ec510bbe496 (diff)
downloadhercules-7603ea174c2d44cafee2b8aa833f80114c045500.tar.gz
hercules-7603ea174c2d44cafee2b8aa833f80114c045500.tar.bz2
hercules-7603ea174c2d44cafee2b8aa833f80114c045500.tar.xz
hercules-7603ea174c2d44cafee2b8aa833f80114c045500.zip
Increase sql password field size from 32 to 100 chars.
32 chars is very small for password.
Diffstat (limited to 'src/map')
-rw-r--r--src/map/log.h2
-rw-r--r--src/map/map.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/log.h b/src/map/log.h
index 6ab142f87..40dbf6761 100644
--- a/src/map/log.h
+++ b/src/map/log.h
@@ -98,7 +98,7 @@ struct log_interface {
char db_ip[32];
int db_port;
char db_id[32];
- char db_pw[32];
+ char db_pw[100];
char db_name[32];
Sql* mysql_handle;
/* */
diff --git a/src/map/map.h b/src/map/map.h
index dba565cc0..c36f905ef 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -853,7 +853,7 @@ struct map_interface {
int server_port;
char server_ip[32];
char server_id[32];
- char server_pw[32];
+ char server_pw[100];
char server_db[32];
Sql* mysql_handle;