summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-04 23:31:29 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-04 23:31:29 +0000
commit4378a9648fc15dbf63c18ccfe76a6db7d85ef90e (patch)
tree9139bfc657932b3c7eae312bb607f3b6f9c33ce1
parent219b3f7c8a33e78d60c6168b4a0575058779fcfe (diff)
downloadhercules-4378a9648fc15dbf63c18ccfe76a6db7d85ef90e.tar.gz
hercules-4378a9648fc15dbf63c18ccfe76a6db7d85ef90e.tar.bz2
hercules-4378a9648fc15dbf63c18ccfe76a6db7d85ef90e.tar.xz
hercules-4378a9648fc15dbf63c18ccfe76a6db7d85ef90e.zip
- Removed delete_session invokcations from ladmin.c...
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9956 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/ladmin/ladmin.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ladmin/ladmin.c b/src/ladmin/ladmin.c
index 107d98d09..3f75edca8 100644
--- a/src/ladmin/ladmin.c
+++ b/src/ladmin/ladmin.c
@@ -3267,8 +3267,7 @@ int parse_fromlogin(int fd) {
printf("Impossible to have a connection with the login-server [%s:%d] !\n", loginserverip, loginserverport);
ladmin_log("Impossible to have a connection with the login-server [%s:%d] !" RETCODE, loginserverip, loginserverport);
}
- close(fd);
- delete_session(fd);
+ do_close(fd);
exit (0);
}
@@ -4368,7 +4367,6 @@ int ladmin_config_read(const char *cfgName) {
void do_final(void) {
if (already_exit_function == 0) {
- delete_session(login_fd);
if (defaultlanguage == 'F') {
printf("\033[0m----Fin de Ladmin (fin normale avec fermeture de tous les fichiers).\n");
@@ -4379,6 +4377,7 @@ void do_final(void) {
}
already_exit_function = 1;
+ do_close(login_fd);
}
}