mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 04:21:23 +00:00
Fix small inconsistency
This commit is contained in:
parent
66929c3c62
commit
a02306b674
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ void MySQL_AddServer(const char *ip, const char *port, const char *name, const c
|
||||||
if(atoi(row[0]) != 0)
|
if(atoi(row[0]) != 0)
|
||||||
room = atoi(row[0]);
|
room = atoi(row[0]);
|
||||||
mysql_free_result(res);
|
mysql_free_result(res);
|
||||||
logPrintf(logfile, "Server's IP already exists, so let's just update it instead...\n");
|
logPrintf(logfile, "Server's IP and port already exists, so let's just update it instead...\n");
|
||||||
logPrintf(logfile, "Updating Server Data for %s\n", ip);
|
logPrintf(logfile, "Updating Server Data for %s\n", ip);
|
||||||
sprintf(updatequery, updatequeryp1, escapedName, escapedPort, escapedVersion, timestamp, room, escapedKey, ip, port);
|
sprintf(updatequery, updatequeryp1, escapedName, escapedPort, escapedVersion, timestamp, room, escapedKey, ip, port);
|
||||||
logPrintf(mysqlfile, "Executing MySQL Query: %s\n", updatequery);
|
logPrintf(mysqlfile, "Executing MySQL Query: %s\n", updatequery);
|
||||||
|
|
Loading…
Reference in a new issue