diff options
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) { |