From 1596ebc5428f1649876f7c542dca462ab4d6c7ed Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sat, 26 Dec 2015 10:15:14 +0100 Subject: [PATCH] Bugfix da cambio nome libzakauthe. --- src/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.c b/src/main.c index 434539f..93a396c 100644 --- a/src/main.c +++ b/src/main.c @@ -254,19 +254,19 @@ main (int argc, char *argv[]) g_error ("Impossibile caricare il file di configurazione specificato: %s.", argv[1]); } - /* leggo i parametri per l'zak_authenticazione */ + /* leggo i parametri per l'zak_authe */ error = NULL; - zak_authe_params = g_key_file_get_keys (config, "ZAK_AUTHE", &n_zak_authe_params, &error); + zak_authe_params = g_key_file_get_keys (config, "AUTE", &n_zak_authe_params, &error); if (zak_authe_params == NULL) { - g_error ("Impossibile leggere la configurazione per il sistema di zak_authenticazione."); + g_error ("Impossibile leggere la configurazione per il sistema di zak_authe."); } sl_zak_authe_params = NULL; for (i = 0; i < n_zak_authe_params; i++) { error = NULL; - sl_zak_authe_params = g_slist_append (sl_zak_authe_params, g_key_file_get_string (config, "ZAK_AUTHE", zak_authe_params[i], &error)); + sl_zak_authe_params = g_slist_append (sl_zak_authe_params, g_key_file_get_string (config, "AUTE", zak_authe_params[i], &error)); } g_strfreev (zak_authe_params); -- 2.49.0