Corrected warning on login.sql
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10068 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
4b0a77360e
commit
27ae4f7091
@ -3,6 +3,9 @@ Date Added
|
|||||||
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
|
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
|
||||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||||
|
|
||||||
|
2007/03/26
|
||||||
|
* Corrected "format '%lu' expects type 'long unsigned int', but argument 4
|
||||||
|
has type 'unsigned int'" warning on login.sql [Toms]
|
||||||
2007/03/24
|
2007/03/24
|
||||||
* Corrected change r10051 which prevented Ice Pick from working [ultramage]
|
* Corrected change r10051 which prevented Ice Pick from working [ultramage]
|
||||||
- the 'ignore_' variables are bitflags and therefore need enough bits
|
- the 'ignore_' variables are bitflags and therefore need enough bits
|
||||||
|
@ -1545,7 +1545,7 @@ int parse_login(int fd)
|
|||||||
default : error = "Unknown Error."; break;
|
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
|
//query
|
||||||
if(mysql_query(&mysql_handle, tmpsql)) {
|
if(mysql_query(&mysql_handle, tmpsql)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user