summaryrefslogtreecommitdiff
path: root/src/common/socket.c
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-04-08 16:25:50 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-04-08 16:25:50 +0000
commita6cbad09d5f8a7c97c1953b7696d7dc070bf0230 (patch)
treeb53a38b4fe4bfe6c7aca8c1b84c71a4c9d26fb2c /src/common/socket.c
parent490d9a982e70974d2f4e09eea4c14e1146839fbe (diff)
downloadhercules-a6cbad09d5f8a7c97c1953b7696d7dc070bf0230.tar.gz
hercules-a6cbad09d5f8a7c97c1953b7696d7dc070bf0230.tar.bz2
hercules-a6cbad09d5f8a7c97c1953b7696d7dc070bf0230.tar.xz
hercules-a6cbad09d5f8a7c97c1953b7696d7dc070bf0230.zip
* Fixed a compile error when socket send shortlists are disabled (s->eof instead of s->flag.eof) (follow up to r11930).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14779 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/socket.c')
-rw-r--r--src/common/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/socket.c b/src/common/socket.c
index 0a576e517..425d84779 100644
--- a/src/common/socket.c
+++ b/src/common/socket.c
@@ -749,7 +749,7 @@ int do_sockets(int next)
if(session[i]->wdata_size)
session[i]->func_send(i);
- if(session[i]->eof) //func_send can't free a session, this is safe.
+ if(session[i]->flag.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 immediately.
}