diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-15 21:49:21 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-15 21:49:21 +0000 |
commit | fd6ff31e591191e8f6bbf2dee4bfe9001cc14395 (patch) | |
tree | 43c82e038c108ff8d6fba03f5b939d9010b6cbcd /src/map/chrif.c | |
parent | 1b0780d6839a63bfaf4ff5b0287aa83605d817d9 (diff) | |
download | hercules-fd6ff31e591191e8f6bbf2dee4bfe9001cc14395.tar.gz hercules-fd6ff31e591191e8f6bbf2dee4bfe9001cc14395.tar.bz2 hercules-fd6ff31e591191e8f6bbf2dee4bfe9001cc14395.tar.xz hercules-fd6ff31e591191e8f6bbf2dee4bfe9001cc14395.zip |
Getting some (mostly atcommand) code cleaning out of the way...
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11222 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r-- | src/map/chrif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c index 9513c7ea7..b333dbeaf 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -476,7 +476,7 @@ void chrif_authok(int fd) } // Awaiting for client to connect. auth_data = (struct auth_node *)aCalloc(1,sizeof(struct auth_node)); - auth_data->char_dat = (struct mmo_charstatus *) aCalloc(1,sizeof(struct mmo_charstatus)); + auth_data->char_dat = (struct mmo_charstatus *) aMalloc(sizeof(struct mmo_charstatus)); auth_data->account_id=RFIFOL(fd, 4); auth_data->login_id1=RFIFOL(fd, 8); |