From 4378a9648fc15dbf63c18ccfe76a6db7d85ef90e Mon Sep 17 00:00:00 2001 From: skotlex Date: Sun, 4 Mar 2007 23:31:29 +0000 Subject: - Removed delete_session invokcations from ladmin.c... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9956 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/ladmin/ladmin.c | 5 ++--- 1 file 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); } } -- cgit v1.2.3-70-g09d2