summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-20 17:10:53 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-20 17:10:53 +0000
commite39697a8dd79ff05538761ebe60ae4e0efa44bd4 (patch)
tree9d811de3db55a9aa1d2dfb85766a43e387687198 /src/char_sql/char.c
parentd0e2bdc12e685eb0166d4aa55eee6fe2f79c1b73 (diff)
downloadhercules-e39697a8dd79ff05538761ebe60ae4e0efa44bd4.tar.gz
hercules-e39697a8dd79ff05538761ebe60ae4e0efa44bd4.tar.bz2
hercules-e39697a8dd79ff05538761ebe60ae4e0efa44bd4.tar.xz
hercules-e39697a8dd79ff05538761ebe60ae4e0efa44bd4.zip
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
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r--src/char_sql/char.c4
1 files changed, 4 insertions, 0 deletions
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;
}