summaryrefslogtreecommitdiff
path: root/src/char_sql
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/char_sql
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/char_sql')
-rw-r--r--src/char_sql/char.c4
1 files changed, 2 insertions, 2 deletions
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;
}
}