From 7603ea174c2d44cafee2b8aa833f80114c045500 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 4 Oct 2014 17:44:21 +0300 Subject: Increase sql password field size from 32 to 100 chars. 32 chars is very small for password. --- src/map/log.h | 2 +- src/map/map.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map') 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; -- cgit v1.2.3-70-g09d2