diff options
Diffstat (limited to 'proxy/src/gp_config.c')
-rw-r--r-- | proxy/src/gp_config.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/proxy/src/gp_config.c b/proxy/src/gp_config.c index ca0f2c1..f20a7b8 100644 --- a/proxy/src/gp_config.c +++ b/proxy/src/gp_config.c @@ -286,6 +286,15 @@ int load_config(struct gp_config *cfg) return ENOENT; } + tmpstr = iniparser_getstring(d, "gssproxy:debug", NULL); + if (tmpstr) { + if (strcasecmp(tmpstr, "1") == 0 || + strcasecmp(tmpstr, "on") == 0 || + strcasecmp(tmpstr, "true") == 0) { + gp_debug_enable(); + } + } + tmpstr = iniparser_getstring(d, "gssproxy:socket", NULL); if (tmpstr) { cfg->socket_name = strdup(tmpstr); |