From e39697a8dd79ff05538761ebe60ae4e0efa44bd4 Mon Sep 17 00:00:00 2001 From: ultramage Date: Thu, 20 Sep 2007 17:10:53 +0000 Subject: Added back SQL charserver listening socket code that got removed in the /tmpsql merge. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11251 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char_sql/char.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/char_sql/char.c') diff --git a/src/char_sql/char.c b/src/char_sql/char.c index e2baa3b9e..e13744754 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -3930,7 +3930,11 @@ int do_init(int argc, char **argv) Sql_ShowDebug(sql_handle); ShowInfo("End of char server initilization function.\n"); + + ShowInfo("open port %d.....\n",char_port); + char_fd = make_listen_bind(bind_ip, char_port); ShowStatus("The char-server is "CL_GREEN"ready"CL_RESET" (Server is listening on the port %d).\n\n", char_port); + return 0; } -- cgit v1.2.3-70-g09d2