summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-04 21:06:28 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-04 21:06:28 +0000
commit4a07e75620d853ff61c5f29330eae86b2c1cb888 (patch)
tree1451bc6c6e5bea83fcf1a80c5d0474d848f20d1d /src/char_sql/char.c
parent97607005941e41e60a8025c53f585c7927306fd7 (diff)
downloadhercules-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_sql/char.c')
-rw-r--r--src/char_sql/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index a9a90e228..a301bb46f 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -2478,7 +2478,7 @@ int parse_frommap(int fd) {
return 0;
}
- while(RFIFOREST(fd) >= 2 && !session[fd]->eof) {
+ while(RFIFOREST(fd) >= 2) {
switch(RFIFOW(fd, 0)) {
// map-server alive packet