diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-04 17:44:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-18 13:29:25 +0300 |
commit | 7603ea174c2d44cafee2b8aa833f80114c045500 (patch) | |
tree | 44d7d174116280902c171aa83309d7497f4f96a2 /src/map | |
parent | 4ac673941714032ada6d26fb60936ec510bbe496 (diff) | |
download | hercules-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.h | 2 | ||||
-rw-r--r-- | src/map/map.h | 2 |
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; |