diff options
author | Günther Deschner <gdeschner@redhat.com> | 2013-06-03 12:38:39 +0200 |
---|---|---|
committer | Günther Deschner <gdeschner@redhat.com> | 2014-01-14 14:33:34 +0100 |
commit | bd1ff1bc98012e312a493efc7cf32cc128e92050 (patch) | |
tree | d2d431264e72130e1d14d333def528c575a88aee /proxy/src/gp_config_dinglibs.c | |
parent | 16fed8116b9a1ad1354e6181914bc16b95911030 (diff) | |
download | gss-proxy-bd1ff1bc98012e312a493efc7cf32cc128e92050.tar.gz gss-proxy-bd1ff1bc98012e312a493efc7cf32cc128e92050.tar.xz gss-proxy-bd1ff1bc98012e312a493efc7cf32cc128e92050.zip |
Use GPERROR when config parsing fails.
This makes it more likely configuration parsing failures are detected.
Signed-off-by: Günther Deschner <gdeschner@redhat.com>
Diffstat (limited to 'proxy/src/gp_config_dinglibs.c')
-rw-r--r-- | proxy/src/gp_config_dinglibs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proxy/src/gp_config_dinglibs.c b/proxy/src/gp_config_dinglibs.c index 515b951..5916994 100644 --- a/proxy/src/gp_config_dinglibs.c +++ b/proxy/src/gp_config_dinglibs.c @@ -237,7 +237,7 @@ int gp_dinglibs_init(const char *config_file, 0, /* metadata_flags, FIXME */ &file_ctx); if (ret) { - GPDEBUG("Failed to open config file: %d (%s)\n", + GPERROR("Failed to open config file: %d (%s)\n", ret, gp_strerror(ret)); ini_config_destroy(ini_config); return ret; @@ -254,7 +254,7 @@ int gp_dinglibs_init(const char *config_file, if (ret) { char **errors = NULL; /* we had a parsing failure */ - GPDEBUG("Failed to parse config file: %d (%s)\n", + GPERROR("Failed to parse config file: %d (%s)\n", ret, gp_strerror(ret)); if (ini_config_error_count(ini_config)) { ini_config_get_errors(ini_config, &errors); |