ソースを参照

* 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://svn.code.sf.net/p/rathena/svn/trunk@14779 54d463be-8e91-2dee-dedb-b68131a5f0ec
ai4rei 14 年 前
コミット
d82968afbf
2 ファイル変更3 行追加1 行削除
  1. 2 0
      Changelog-Trunk.txt
  2. 1 1
      src/common/socket.c

+ 2 - 0
Changelog-Trunk.txt

@@ -1,5 +1,7 @@
 Date	Added
 
+2011/04/08
+	* Fixed a compile error when socket send shortlists are disabled (s->eof instead of s->flag.eof) (follow up to r11930). [Ai4rei]
 2011/04/07
 	* Fixed monster skill associated emotions were always ignored when having less than three digits ( = all ) (bugreport:4842). [Ai4rei]
 	* Throwing around with packet updates. [Ai4rei]

+ 1 - 1
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.
 		}