diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-30 22:14:36 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-30 22:14:36 +0000 |
commit | 4d81f68ece4dee6282024fe7189d8402a05428db (patch) | |
tree | d04b30fe51fc769d70fab7e3ede00fe499fd923f /src/login/login.c | |
parent | 3c9107ed87b2153f9ca2ed8896979f076be469e3 (diff) | |
download | hercules-4d81f68ece4dee6282024fe7189d8402a05428db.tar.gz hercules-4d81f68ece4dee6282024fe7189d8402a05428db.tar.bz2 hercules-4d81f68ece4dee6282024fe7189d8402a05428db.tar.xz hercules-4d81f68ece4dee6282024fe7189d8402a05428db.zip |
eAthena VC7 solution and support added for native builds [MouseJstr]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1347 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login/login.c')
-rw-r--r-- | src/login/login.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login/login.c b/src/login/login.c index 747fe0a94..7dafc7443 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -2841,6 +2841,8 @@ int parse_login(int fd) { sprintf(ip, "%d.%d.%d.%d", p[0], p[1], p[2], p[3]); + memset(&account, 0, sizeof(account)); + if (session[fd]->eof) { close(fd); delete_session(fd); |