mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
do not write nullbytes to failed_sql.sql
This commit is contained in:
parent
931d99e4c2
commit
4bf1a68292
|
@ -590,7 +590,7 @@ bool CSqlScore::SaveTeamScoreThread(CSqlServer* pSqlServer, CSqlData *pGameData,
|
||||||
if(File)
|
if(File)
|
||||||
{
|
{
|
||||||
const char pUUID[] = "SET @id = UUID();";
|
const char pUUID[] = "SET @id = UUID();";
|
||||||
io_write(File, pUUID, sizeof(pUUID));
|
io_write(File, pUUID, sizeof(pUUID) - 1);
|
||||||
io_write_newline(File);
|
io_write_newline(File);
|
||||||
|
|
||||||
char aTimestamp [20];
|
char aTimestamp [20];
|
||||||
|
|
Loading…
Reference in a new issue