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 /src/map/map.c | |
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
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 6 |
1 files changed, 3 insertions, 3 deletions
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"; |