diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-09-10 14:18:51 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-09-10 14:22:38 +0200 |
commit | 1fa3813b92139458854f33436c3e4af2f8ecae6b (patch) | |
tree | 4c410aeb91562d9ef27b8fb8345315c5a55e2403 /src | |
parent | 7f325a4b67eee90b1bb7f8bd55c1a1688a801cc0 (diff) |
rest: restore change client repository
use correct format for mac SQL query to fix 568d709
Diffstat (limited to 'src')
-rw-r--r-- | src/rest.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |