summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2014-10-30 01:12:53 +0100
committerHaruna <haru@dotalux.com>2014-10-30 01:12:53 +0100
commitcf8d24e602cce90d8f7c22e3d4a04aca4b66a3f3 (patch)
tree9e5c839cbee7b992dd3b0803019e3f61c5e0e7ec /src/login
parent534921cf6e8c2ca683ca7c940306c373cfb0ad2b (diff)
parent7603ea174c2d44cafee2b8aa833f80114c045500 (diff)
downloadhercules-cf8d24e602cce90d8f7c22e3d4a04aca4b66a3f3.tar.gz
hercules-cf8d24e602cce90d8f7c22e3d4a04aca4b66a3f3.tar.bz2
hercules-cf8d24e602cce90d8f7c22e3d4a04aca4b66a3f3.tar.xz
hercules-cf8d24e602cce90d8f7c22e3d4a04aca4b66a3f3.zip
Merge pull request #369 from 4144/sqlpasswordsize
Increase sql password field size from 32 to 100 chars.
Diffstat (limited to 'src/login')
-rw-r--r--src/login/account_sql.c4
-rw-r--r--src/login/ipban_sql.c4
-rw-r--r--src/login/loginlog_sql.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/login/account_sql.c b/src/login/account_sql.c
index 51e499369..10852e5b1 100644
--- a/src/login/account_sql.c
+++ b/src/login/account_sql.c
@@ -33,14 +33,14 @@ typedef struct AccountDB_SQL
char global_db_hostname[32];
uint16 global_db_port;
char global_db_username[32];
- char global_db_password[32];
+ char global_db_password[100];
char global_db_database[32];
char global_codepage[32];
// local sql settings
char db_hostname[32];
uint16 db_port;
char db_username[32];
- char db_password[32];
+ char db_password[100];
char db_database[32];
char codepage[32];
// other settings
diff --git a/src/login/ipban_sql.c b/src/login/ipban_sql.c
index 081f28d84..82512b0f0 100644
--- a/src/login/ipban_sql.c
+++ b/src/login/ipban_sql.c
@@ -23,14 +23,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 ipban_db_hostname[32] = "";
static uint16 ipban_db_port = 0;
static char ipban_db_username[32] = "";
-static char ipban_db_password[32] = "";
+static char ipban_db_password[100] = "";
static char ipban_db_database[32] = "";
static char ipban_codepage[32] = "";
static char ipban_table[32] = "ipbanlist";
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";