mirror of https://git.48k.eu/ogserver
parent
7f325a4b67
commit
1fa3813b92
|
@ -1904,7 +1904,7 @@ static int og_dbi_update_client_repo(struct og_dbi *dbi, const char *mac,
|
|||
|
||||
result = dbi_conn_queryf(dbi->conn,
|
||||
"UPDATE ordenadores SET idrepositorio=%u "
|
||||
"WHERE mac='%u'",
|
||||
"WHERE mac='%s'",
|
||||
repo_id, mac);
|
||||
|
||||
if (!result) {
|
||||
|
|
Loading…
Reference in New Issue