From bdfce85b67dd0e63f34ddf9bed05d94b79dd9d05 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sun, 1 Jul 2007 15:26:53 +0000 Subject: Cleaned up some parts of the code. Removed obsolete script function 'hasitems'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10838 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/showmsg.c | 12 ++++++------ src/common/socket.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/common') diff --git a/src/common/showmsg.c b/src/common/showmsg.c index 728bc0c9f..615b52914 100644 --- a/src/common/showmsg.c +++ b/src/common/showmsg.c @@ -690,12 +690,12 @@ int _vShowMessage(enum msg_type flag, const char *string, va_list ap) return 1; } if ((flag == MSG_DEBUG && !SHOW_DEBUG_MSG) || - (flag == MSG_INFORMATION && msg_silent&1) || - (flag == MSG_STATUS && msg_silent&2) || - (flag == MSG_NOTICE && msg_silent&4) || - (flag == MSG_WARNING && msg_silent&8) || - (flag == MSG_ERROR && msg_silent&16) || - (flag == MSG_SQL && msg_silent&16)) + (flag == MSG_INFORMATION && msg_silent&1) || + (flag == MSG_STATUS && msg_silent&2) || + (flag == MSG_NOTICE && msg_silent&4) || + (flag == MSG_WARNING && msg_silent&8) || + (flag == MSG_ERROR && msg_silent&16) || + (flag == MSG_SQL && msg_silent&16)) return 0; //Do not print it. if (timestamp_format[0]) diff --git a/src/common/socket.c b/src/common/socket.c index 11b273d61..87740ed65 100644 --- a/src/common/socket.c +++ b/src/common/socket.c @@ -612,7 +612,7 @@ int do_sendrecv(int next) if(session[i]->eof) //func_send can't free a session, this is safe. { //Finally, even if there is no data to parse, connections signalled eof should be closed, so we call parse_func [Skotlex] - session[i]->func_parse(i); //This should close the session inmediately. + session[i]->func_parse(i); //This should close the session immediately. } } #endif -- cgit v1.2.3-70-g09d2