Fix account wipe

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@984 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
amber 2005-01-24 21:57:05 +00:00
parent 55c44e3eb1
commit 698c842177
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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));