diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-17 20:24:48 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-17 20:24:48 +0000 |
commit | 5f6a6a2557a90573a504b541a3234f0dc566bf6a (patch) | |
tree | 4e4522d1c1c7411a2c7672af9af7887333dcdc50 /src/ladmin | |
parent | 724babffe10a6908d1510c941e5abfbe840fd271 (diff) | |
download | hercules-5f6a6a2557a90573a504b541a3234f0dc566bf6a.tar.gz hercules-5f6a6a2557a90573a504b541a3234f0dc566bf6a.tar.bz2 hercules-5f6a6a2557a90573a504b541a3234f0dc566bf6a.tar.xz hercules-5f6a6a2557a90573a504b541a3234f0dc566bf6a.zip |
* Merged do_sendrecv() and do_parse() into do_sockets()
* Fixed subnet check message displaying incorrect ip addresses
* client_addr will now be properly set to 0 for server connections
* Removed socket code that attempts to cope with code bugs at runtime
* Removed outdated copyright and version number from startup logo
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11503 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/ladmin')
-rw-r--r-- | src/ladmin/ladmin.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ladmin/ladmin.c b/src/ladmin/ladmin.c index 475bdcdeb..7a7cf3dda 100644 --- a/src/ladmin/ladmin.c +++ b/src/ladmin/ladmin.c @@ -3248,7 +3248,7 @@ int parse_fromlogin(int fd) ladmin_log("Impossible to have a connection with the login-server [%s:%d] !\n", loginserverip, loginserverport); } do_close(fd); - exit (0); + exit(EXIT_FAILURE); } // ShowMessage("parse_fromlogin : %d %d %d\n", fd, RFIFOREST(fd), RFIFOW(fd,0)); @@ -4384,8 +4384,7 @@ int do_init(int argc, char **argv) // so we have to do this ourselves while (runflag) { next = do_timer(gettick_nocache()); - do_sendrecv(next); - do_parsepacket(); + do_sockets(next); } return 0; |