diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-20 14:59:16 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-20 14:59:16 +0000 |
commit | f3e0608b8871675ec21c8da90ea3ca545f54e017 (patch) | |
tree | 3935b91700738cf8c7044afdbc094f2ed02ecee2 /src/login_sql | |
parent | cc0055f1af5eea3a9253cf3e0e0582f19ea8b512 (diff) | |
download | hercules-f3e0608b8871675ec21c8da90ea3ca545f54e017.tar.gz hercules-f3e0608b8871675ec21c8da90ea3ca545f54e017.tar.bz2 hercules-f3e0608b8871675ec21c8da90ea3ca545f54e017.tar.xz hercules-f3e0608b8871675ec21c8da90ea3ca545f54e017.zip |
- Removed Magic Rod's cast bar.
- Corrected warning on login sql.
- Gravitation no longer causes damage flinch.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10038 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login_sql')
-rw-r--r-- | src/login_sql/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c index b895bbab8..73a32950b 100644 --- a/src/login_sql/login.c +++ b/src/login_sql/login.c @@ -1545,7 +1545,7 @@ int parse_login(int fd) default : error = "Unknown Error."; break; } - sprintf(tmpsql, "INSERT DELAYED INTO `%s`(`time`,`ip`,`user`,`rcode`,`log`) VALUES (NOW(), '%lu', '%s', '%d','login failed : %s')", loginlog_db, ntohl(ipl), t_uid, result, error); + sprintf(tmpsql, "INSERT DELAYED INTO `%s`(`time`,`ip`,`user`,`rcode`,`log`) VALUES (NOW(), '%lu', '%s', '%d','login failed : %s')", loginlog_db, (unsigned int)ntohl(ipl), t_uid, result, error); //query if(mysql_query(&mysql_handle, tmpsql)) { |