From 3adaf8788b65a84ec4266c6621d30679a95f546d Mon Sep 17 00:00:00 2001 From: ultramage Date: Sun, 6 Jan 2008 14:19:26 +0000 Subject: Modified showmsg code to not attach a timestamp to MSG_NONE-type messages, generated by ShowMessage(). It now works exactly like printf(). Removed/replaced all printf calls in the code. Added a new flag to setting 'console_silent', for filtering debug messages. Silenced the "Broken pipe found" and "Server running in debug mode" messages. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12020 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/malloc.c') diff --git a/src/common/malloc.c b/src/common/malloc.c index f2866e564..8b985bbd7 100644 --- a/src/common/malloc.c +++ b/src/common/malloc.c @@ -201,7 +201,7 @@ void* _mmalloc(size_t size, const char *file, int line, const char *func ) size_t size_hash; if (((long) size) < 0) { - printf("_mmalloc: %d\n", size); + ShowError("_mmalloc: %d\n", size); return 0; } -- cgit v1.2.3-60-g2f50