diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-05-19 11:26:15 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-05-19 11:26:15 +0000 |
commit | 35874a560ee89397e14eac3e7f40fc0251d67053 (patch) | |
tree | 4f4ed1db75dda09862ee7937c987a53a8cc8f81f | |
parent | 0b2f57dd4dd8e3ee2a15f9fb121313f45ebc9926 (diff) | |
download | hercules-35874a560ee89397e14eac3e7f40fc0251d67053.tar.gz hercules-35874a560ee89397e14eac3e7f40fc0251d67053.tar.bz2 hercules-35874a560ee89397e14eac3e7f40fc0251d67053.tar.xz hercules-35874a560ee89397e14eac3e7f40fc0251d67053.zip |
Fixed server crashes when you use long hostnames (/thx to Ancyker)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10579 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | Changelog-Trunk.txt | 1 | ||||
-rw-r--r-- | src/map/map.c | 6 | ||||
-rw-r--r-- | src/txt-converter/login-converter.c | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 324fc4016..c98275df3 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. 2007/05/19 + * Fixed server crashes when you use long hostnames (/thx to Ancyker) * Removed the wtf-y mmo_char_fromsql_short() from r2527 [ultramage] * Fixed drops of Thanatos Dolor & Thanatos Odium regarding the quest. [SinSloth] * SQL files fixup diff --git a/src/map/map.c b/src/map/map.c index ca2fd6565..536d66d97 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -57,7 +57,7 @@ char tmp_sql[65535]=""; char default_codepage[32] = ""; int map_server_port = 3306; -char map_server_ip[16] = "127.0.0.1"; +char map_server_ip[32] = "127.0.0.1"; char map_server_id[32] = "ragnarok"; char map_server_pw[32] = "ragnarok"; char map_server_db[32] = "ragnarok"; @@ -74,7 +74,7 @@ char mob_db2_db[32] = "mob_db2"; char char_db[32] = "char"; // log database -char log_db_ip[16] = "127.0.0.1"; +char log_db_ip[32] = "127.0.0.1"; int log_db_port = 3306; char log_db_id[32] = "ragnarok"; char log_db_pw[32] = "ragnarok"; @@ -85,7 +85,7 @@ MYSQL_ROW logsql_row; // mail system int mail_server_enable = 0; -char mail_server_ip[16] = "127.0.0.1"; +char mail_server_ip[32] = "127.0.0.1"; int mail_server_port = 3306; char mail_server_id[32] = "ragnarok"; char mail_server_pw[32] = "ragnarok"; diff --git a/src/txt-converter/login-converter.c b/src/txt-converter/login-converter.c index 1f5b4141c..e46f9327b 100644 --- a/src/txt-converter/login-converter.c +++ b/src/txt-converter/login-converter.c @@ -38,7 +38,7 @@ char login_db[256]="login"; static struct dbt *gm_account_db; int db_server_port = 3306; -char db_server_ip[16] = "127.0.0.1"; +char db_server_ip[32] = "127.0.0.1"; char db_server_id[32] = "ragnarok"; char db_server_pw[32] = "ragnarok"; char db_server_logindb[32] = "ragnarok"; |