From 3f912f42a271cfeb6835a547c161614bf97730f9 Mon Sep 17 00:00:00 2001 From: Saifur Rahman Mohsin Date: Fri, 5 Dec 2014 19:01:42 +0530 Subject: [PATCH] Doubled the hostname length The hostname char array was doubled on commit #0f2dd7f but wasn't reflected later on in further file modifications. --- src/login/loginlog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/login/loginlog.c b/src/login/loginlog.c index 89d455423c..4464c8b4e9 100644 --- a/src/login/loginlog.c +++ b/src/login/loginlog.c @@ -16,14 +16,14 @@ #include // exit // global sql settings (in ipban_sql.c) -static char global_db_hostname[32] = "127.0.0.1"; +static char global_db_hostname[64] = "127.0.0.1"; // Doubled to reflect the change on commit #0f2dd7f static uint16 global_db_port = 3306; static char global_db_username[32] = "ragnarok"; static char global_db_password[32] = ""; //empty by default since mysql is empty by default as well static char global_db_database[32] = "ragnarok"; static char global_codepage[32] = ""; // local sql settings -static char log_db_hostname[32] = ""; +static char log_db_hostname[64] = ""; // Doubled to reflect the change on commit #0f2dd7f static uint16 log_db_port = 0; static char log_db_username[32] = ""; static char log_db_password[32] = "";