diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2018-10-31 18:06:40 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-01-17 13:18:11 +0100 |
commit | 691af634e6529e9f95b5eb742e251a81bf2bc70d (patch) | |
tree | 8dbd92be4d58ce7129ee984f1c8f574de182641d /sources | |
parent | aff4cfdd5f14ff7c2f85989160a4ebda3e0e7dfd (diff) |
#580 remove AULAUP in configuration file
Overrides catalog, and aulaup variable is never set / used.
Diffstat (limited to 'sources')
-rw-r--r-- | sources/ogAdmServer.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sources/ogAdmServer.cpp b/sources/ogAdmServer.cpp index 1a5ac04..12b10f4 100644 --- a/sources/ogAdmServer.cpp +++ b/sources/ogAdmServer.cpp @@ -13,7 +13,6 @@ static char usuario[LONPRM]; // Usuario de acceso a la base de datos static char pasguor[LONPRM]; // Password del usuario static char datasource[LONPRM]; // Dirección IP del gestor de base de datos static char catalog[LONPRM]; // Nombre de la base de datos -static char aulaup[LONPRM]; // Conmutador para registro automático de clientes //________________________________________________________________________________________________________ // Función: tomaConfiguracion @@ -65,8 +64,6 @@ bool tomaConfiguracion(char* filecfg) { snprintf(datasource, sizeof(datasource), "%s", value); else if (!strcmp(StrToUpper(key), "CATALOG")) snprintf(catalog, sizeof(catalog), "%s", value); - else if (!strcmp(StrToUpper(key), "AULAUP")) - snprintf(catalog, sizeof(catalog), "%s", value); line = fgets(buf, sizeof(buf), fcfg); } @@ -95,8 +92,6 @@ bool tomaConfiguracion(char* filecfg) { og_log(9, FALSE); // Falta parámetro CATALOG return (FALSE); } - if (!aulaup[0]) - strcpy(aulaup, "0"); // Por defecto el conmutador de registro automático esta en off return (TRUE); } |