summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2014-05-15 09:42:20 +0000
committerramon <ramongomez@us.es>2014-05-15 09:42:20 +0000
commite66ce8721010753d0f471ed3261ad1821b30d8c7 (patch)
tree1758fbcd82e45a44dfe9a323b0151ef3ade1fa65 /admin
parent0d6ed7ac3f5b338e28fdf2a6664923e89ae4b8ce (diff)
#526: Comparación correcta de código de partición (hexadecimal) para evitar regeneración innecesaria de la configuración del cliente.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4268 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin')
-rw-r--r--admin/Sources/Services/ogAdmServer/sources/ogAdmServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.cpp b/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.cpp
index 7af9dd5c..c7dc4f41 100644
--- a/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.cpp
+++ b/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.cpp
@@ -805,7 +805,7 @@ BOOLEAN actualizaConfiguracion(Database db, Table tbl, char* cfg, int ido)
errorInfo(modulo, msglog);
return (FALSE);
}
- if (atoi(cpt) == dato) {// Parámetro tipo de partición igual al almacenado
+ if (strtol(cpt, NULL, 16) == dato) {// Parámetro tipo de partición (hexadecimal) igual al almacenado (decimal)
if (!tbl.Get("tamano", dato)) { // Toma dato
tbl.GetErrorErrStr(msglog); // Error al acceder al registro
errorInfo(modulo, msglog);