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/login/loginlog_sql.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/login/loginlog_sql.c') diff --git a/src/login/loginlog_sql.c b/src/login/loginlog_sql.c index 2c0b1cc03..5654b4c5b 100644 --- a/src/login/loginlog_sql.c +++ b/src/login/loginlog_sql.c @@ -19,14 +19,14 @@ static char global_db_hostname[32] = "127.0.0.1"; static uint16 global_db_port = 3306; static char global_db_username[32] = "ragnarok"; -static char global_db_password[32] = "ragnarok"; +static char global_db_password[100] = "ragnarok"; static char global_db_database[32] = "ragnarok"; static char global_codepage[32] = ""; // local sql settings static char log_db_hostname[32] = ""; static uint16 log_db_port = 0; static char log_db_username[32] = ""; -static char log_db_password[32] = ""; +static char log_db_password[100] = ""; static char log_db_database[32] = ""; static char log_codepage[32] = ""; static char log_login_db[256] = "loginlog"; -- cgit v1.2.3-70-g09d2