summaryrefslogtreecommitdiff
path: root/src/login_sql
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-25 12:31:57 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-25 12:31:57 +0000
commit5993e7df4c3ad138ce6e2c891624581412d51bc8 (patch)
tree2971d2b3081ff0d4dcf807d426a6d2c84e3f925c /src/login_sql
parent2e1c55543751e1d10085e6e5d98601b7771f455a (diff)
downloadhercules-5993e7df4c3ad138ce6e2c891624581412d51bc8.tar.gz
hercules-5993e7df4c3ad138ce6e2c891624581412d51bc8.tar.bz2
hercules-5993e7df4c3ad138ce6e2c891624581412d51bc8.tar.xz
hercules-5993e7df4c3ad138ce6e2c891624581412d51bc8.zip
Corrected warning on login.sql
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10068 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 73a32950b..03ecb4982 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, (unsigned int)ntohl(ipl), t_uid, result, error);
+ sprintf(tmpsql, "INSERT DELAYED INTO `%s`(`time`,`ip`,`user`,`rcode`,`log`) VALUES (NOW(), '%u', '%s', '%d','login failed : %s')", loginlog_db, (unsigned int)ntohl(ipl), t_uid, result, error);
//query
if(mysql_query(&mysql_handle, tmpsql)) {