From 4a07e75620d853ff61c5f29330eae86b2c1cb888 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sun, 4 Mar 2007 21:06:28 +0000 Subject: More tweaks to socket.c to simplify the code - many generic cleanups - reformatting, useless code removal, etc - made the mode_neg setting a compile-time decision, not a run-time one - removed the silly frame_size setting (there since r1) - added some TODOs to http://www.eathena.ws/board/index.php?showtopic=127988 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9954 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char/char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/char') diff --git a/src/char/char.c b/src/char/char.c index 2f6c0e2f5..22dd81d94 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -2722,7 +2722,7 @@ int parse_frommap(int fd) { return 0; } - while(RFIFOREST(fd) >= 2 && !session[fd]->eof) { + while(RFIFOREST(fd) >= 2) { //ShowDebug("Received packet 0x%4x (%d bytes) from map-server (connection %d)\n", RFIFOW(fd, 0), RFIFOREST(fd), fd); switch(RFIFOW(fd,0)) { -- cgit v1.2.3-60-g2f50