summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-08 15:40:41 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-08 15:40:41 +0000
commit14710780f3b6043e6d9c859137159e76d0bb1e51 (patch)
tree42d80812c3bf0a8a6ea440ef0f6e03a658f4e40e /src/common
parent4e5a65295ad732fd53630d8c29912ec047038d9d (diff)
downloadhercules-14710780f3b6043e6d9c859137159e76d0bb1e51.tar.gz
hercules-14710780f3b6043e6d9c859137159e76d0bb1e51.tar.bz2
hercules-14710780f3b6043e6d9c859137159e76d0bb1e51.tar.xz
hercules-14710780f3b6043e6d9c859137159e76d0bb1e51.zip
* 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
Diffstat (limited to 'src/common')
-rw-r--r--src/common/plugins.c2
-rw-r--r--src/common/socket.c2
2 files changed, 2 insertions, 2 deletions
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);
}