diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-04 21:06:28 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-04 21:06:28 +0000 |
commit | 4a07e75620d853ff61c5f29330eae86b2c1cb888 (patch) | |
tree | 1451bc6c6e5bea83fcf1a80c5d0474d848f20d1d /src/char/char.c | |
parent | 97607005941e41e60a8025c53f585c7927306fd7 (diff) | |
download | hercules-4a07e75620d853ff61c5f29330eae86b2c1cb888.tar.gz hercules-4a07e75620d853ff61c5f29330eae86b2c1cb888.tar.bz2 hercules-4a07e75620d853ff61c5f29330eae86b2c1cb888.tar.xz hercules-4a07e75620d853ff61c5f29330eae86b2c1cb888.zip |
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
Diffstat (limited to 'src/char/char.c')
-rw-r--r-- | src/char/char.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |