summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-10 09:08:10 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-10 09:08:10 +0000
commit5189224e827f3cbe701da961757f0b42c477decb (patch)
treedc1bccbfd02a8e98156da2b6954dc6f0051f028c /src
parent229c39c3bd48a2f368c7ad9d2dbd8e9fd43869bd (diff)
downloadhercules-5189224e827f3cbe701da961757f0b42c477decb.tar.gz
hercules-5189224e827f3cbe701da961757f0b42c477decb.tar.bz2
hercules-5189224e827f3cbe701da961757f0b42c477decb.tar.xz
hercules-5189224e827f3cbe701da961757f0b42c477decb.zip
Replaced a few missed set_eof()-s
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10518 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/char/char.c2
-rw-r--r--src/char_sql/char.c4
2 files changed, 3 insertions, 3 deletions
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;
}
}