summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog.txt2
-rw-r--r--src/login/login.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog.txt b/Changelog.txt
index 1e5273e57..45e664da1 100644
--- a/Changelog.txt
+++ b/Changelog.txt
@@ -1,6 +1,8 @@
Date Added
01/24
+ * Fixed a account wipe bug in login/login.c (Thanks Wallex)
+ [SVN 984] [MouseJstr]
* Fixed a crash in char_sql/char.c where people were selecting
chars before requesting connections [SVN 983] [MouseJstr]
* some G++ compile tweaks and got through several files in the
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));