From 14710780f3b6043e6d9c859137159e76d0bb1e51 Mon Sep 17 00:00:00 2001 From: ultramage Date: Mon, 8 Jan 2007 15:40:41 +0000 Subject: * Silenced the plugin export messages during startup [ultramage] * Fixed an old debug message displaying %d instead of a number * Commented out a login_log call (sql doesn't implement that function!) * Found the reason why the console didn't want to run on windows * Moved the plugin.def file to the plugins dir and added console.def git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9632 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/plugins.c | 2 +- src/common/socket.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common') diff --git a/src/common/plugins.c b/src/common/plugins.c index 4d3849330..09ce15da3 100644 --- a/src/common/plugins.c +++ b/src/common/plugins.c @@ -123,7 +123,7 @@ int plugin_event_trigger(char* name) int export_symbol(void* var, size_t offset) { - ShowDebug("export_symbol(0x%x,%d)\n", var,offset); + //ShowDebug("export_symbol(0x%x,%d)\n", var,offset); // add to the end of the list if( offset < 0 ) diff --git a/src/common/socket.c b/src/common/socket.c index 3d445d286..3c8396961 100644 --- a/src/common/socket.c +++ b/src/common/socket.c @@ -327,7 +327,7 @@ int make_listen_bind(long ip,int port) fd = (int)socket( AF_INET, SOCK_STREAM, 0 ); if (fd == INVALID_SOCKET) { - ShowError("socket() creation failed (code %d)!\n", fd, s_errno); + ShowError("socket() creation failed (code %d)!\n", s_errno); exit(1); } -- cgit v1.2.3-70-g09d2