diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2019-11-21 17:42:57 +0100 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2019-11-21 17:42:57 +0100 |
commit | 696c5bbaf0be85a9e6382e611bf21a906838c71a (patch) | |
tree | 0f0711c5f0010ce575e7fb4aca5c4714bd095c13 /sources | |
parent | abd2b913d8b352388eb093f0e03b67138db9c490 (diff) |
#839: Always update the partition types when obtaining the computer configuration.
Diffstat (limited to 'sources')
-rw-r--r-- | sources/ogAdmServer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/ogAdmServer.cpp b/sources/ogAdmServer.cpp index 683aab6..5bf2779 100644 --- a/sources/ogAdmServer.cpp +++ b/sources/ogAdmServer.cpp @@ -663,9 +663,10 @@ bool actualizaConfiguracion(Database db, Table tbl, char *cfg, int ido) cpt, tam, uso, idsfi, idsoi, ido, disk, par); } else { // Actualizar porcentaje de uso. sprintf(sqlstr, "UPDATE ordenadores_particiones SET " + " codpar=0x%s," " uso=%s" " WHERE idordenador=%d AND numdisk=%s AND numpar=%s", - uso, ido, disk, par); + cpt, uso, ido, disk, par); } if (!db.Execute(sqlstr, tbl)) { db.GetErrorErrStr(msglog); |