summaryrefslogtreecommitdiff
path: root/src/login_sql
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-29 05:19:01 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-29 05:19:01 +0000
commit02720aae3af5cc563a8b6dd374b5aebd5a0da074 (patch)
tree59ebbe47fe076464218bbde1a5206768ae1d0601 /src/login_sql
parent893a5922031f91f0599480d2ffbf525b76803165 (diff)
downloadhercules-02720aae3af5cc563a8b6dd374b5aebd5a0da074.tar.gz
hercules-02720aae3af5cc563a8b6dd374b5aebd5a0da074.tar.bz2
hercules-02720aae3af5cc563a8b6dd374b5aebd5a0da074.tar.xz
hercules-02720aae3af5cc563a8b6dd374b5aebd5a0da074.zip
A few bug fixes
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@412 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login_sql')
-rw-r--r--src/login_sql/login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c
index ba03848e8..1863913fc 100644
--- a/src/login_sql/login.c
+++ b/src/login_sql/login.c
@@ -163,7 +163,7 @@ void add_online_user(int account_id) {
printf("add_online_user: memory allocation failure (malloc)!\n");
exit(0);
}
- p = &account_id;
+ *p = account_id;
numdb_insert(online_db, account_id, p);
}