From 5189224e827f3cbe701da961757f0b42c477decb Mon Sep 17 00:00:00 2001 From: ultramage Date: Thu, 10 May 2007 09:08:10 +0000 Subject: Replaced a few missed set_eof()-s git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10518 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char/char.c | 2 +- src/char_sql/char.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/char/char.c b/src/char/char.c index c5ef5ce36..49ccb7016 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -1850,7 +1850,7 @@ int disconnect_player(int account_id) { for(i = 0; i < fd_max; i++) { if (session[i] && (sd = (struct char_session_data*)session[i]->session_data)) { if (sd->account_id == account_id) { - session[i]->eof = 1; + set_eof(i); return 1; } } diff --git a/src/char_sql/char.c b/src/char_sql/char.c index ff6dcb293..d1aedd37b 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -2077,7 +2077,7 @@ int parse_tologin(int fd) { for(i = 0; i < fd_max; i++) { if (session[i] && (sd = (struct char_session_data*)session[i]->session_data)) { if (sd->account_id == acc) { - session[i]->eof = 1; + set_eof(i); break; } } @@ -2122,7 +2122,7 @@ int parse_tologin(int fd) { for(i = 0; i < fd_max; i++) { if (session[i] && (sd = (struct char_session_data*)session[i]->session_data)) { if (sd->account_id == RFIFOL(fd,2)) { - session[i]->eof = 1; + set_eof(i); break; } } -- cgit v1.2.3-70-g09d2