From ca9eab23b34f2fe839aea1ef90673e1d3f73c533 Mon Sep 17 00:00:00 2001 From: ultramage Date: Mon, 23 Apr 2007 01:37:16 +0000 Subject: - 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 --- src/char/char.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/char') 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"); -- cgit v1.2.3-70-g09d2