summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-04 22:51:22 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-04 22:51:22 +0000
commit219b3f7c8a33e78d60c6168b4a0575058779fcfe (patch)
tree036dd7c88cb878d1dd0638158eb6e9785f822724 /src/map/chrif.c
parent4a07e75620d853ff61c5f29330eae86b2c1cb888 (diff)
downloadhercules-219b3f7c8a33e78d60c6168b4a0575058779fcfe.tar.gz
hercules-219b3f7c8a33e78d60c6168b4a0575058779fcfe.tar.bz2
hercules-219b3f7c8a33e78d60c6168b4a0575058779fcfe.tar.xz
hercules-219b3f7c8a33e78d60c6168b4a0575058779fcfe.zip
- Removed delete_session from socket.h since it shouldn't be used by them.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9955 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index f3cf7b7b2..6a90b14ea 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -1627,7 +1627,8 @@ int auth_db_final(DBKey k,void *d,va_list ap) {
*/
int do_final_chrif(void)
{
- delete_session(char_fd);
+ if (char_fd > 0)
+ do_close(char_fd);
auth_db->destroy(auth_db, auth_db_final);
return 0;
}