summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-01-24 21:57:05 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-01-24 21:57:05 +0000
commitae90d3e5a0090f15c68246b94e39730ff75f935a (patch)
treec61648fb0947425ae301cd5448d44b0154ba30be /src
parent105985add2ba326f8e24291027f90c0a374998b1 (diff)
downloadhercules-ae90d3e5a0090f15c68246b94e39730ff75f935a.tar.gz
hercules-ae90d3e5a0090f15c68246b94e39730ff75f935a.tar.bz2
hercules-ae90d3e5a0090f15c68246b94e39730ff75f935a.tar.xz
hercules-ae90d3e5a0090f15c68246b94e39730ff75f935a.zip
Fix account wipe
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@984 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/login/login.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/login/login.c b/src/login/login.c
index 4e1870163..c7440dd4b 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -1025,7 +1025,6 @@ int mmo_auth_new(struct mmo_account* account, char sex, char* email) {
if (auth_num >= auth_max) {
auth_max += 256;
auth_dat = (struct auth_dat*)aRealloc(auth_dat, sizeof(struct auth_dat) * auth_max);
- memset(auth_dat, 0, sizeof(struct auth_dat) * auth_max);
}
memset(&auth_dat[i], '\0', sizeof(struct auth_dat));