diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-23 01:37:16 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-23 01:37:16 +0000 |
commit | ca9eab23b34f2fe839aea1ef90673e1d3f73c533 (patch) | |
tree | eea6eb4fe7fbabda1c9511941921eaef1d1a3755 /src/char | |
parent | d08465093859b1df55f66bcbd31e0c4d9e392132 (diff) | |
download | hercules-ca9eab23b34f2fe839aea1ef90673e1d3f73c533.tar.gz hercules-ca9eab23b34f2fe839aea1ef90673e1d3f73c533.tar.bz2 hercules-ca9eab23b34f2fe839aea1ef90673e1d3f73c533.tar.xz hercules-ca9eab23b34f2fe839aea1ef90673e1d3f73c533.zip |
- Fixed a compilation problem with the pid plugin
- Some minor cleanups
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10322 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char')
-rw-r--r-- | src/char/char.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/char.c b/src/char/char.c index 66601f644..c4fc8dfda 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -62,7 +62,7 @@ uint16 login_port = 6900; char char_ip_str[128]; uint32 char_ip; char bind_ip_str[128]; -uint32 bind_ip; +uint32 bind_ip = INADDR_ANY; uint16 char_port = 6121; int char_maintenance; int char_new; @@ -4310,7 +4310,7 @@ int do_init(int argc, char **argv) set_defaultparse(parse_char); - char_fd = make_listen_bind(bind_ip?bind_ip:INADDR_ANY,char_port); + char_fd = make_listen_bind(bind_ip, char_port); add_timer_func_list(check_connect_login_server, "check_connect_login_server"); add_timer_func_list(send_users_tologin, "send_users_tologin"); |