diff options
Diffstat (limited to 'p11-kit/conf.c')
-rw-r--r-- | p11-kit/conf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/p11-kit/conf.c b/p11-kit/conf.c index de42745..7523f98 100644 --- a/p11-kit/conf.c +++ b/p11-kit/conf.c @@ -38,6 +38,8 @@ #include "config.h" #include "conf.h" +#define DEBUG_FLAG DEBUG_CONF +#include "debug.h" #include <sys/param.h> #include <sys/stat.h> @@ -182,6 +184,8 @@ conf_parse_file (const char* filename, int flags, assert (filename); + debug ("reading config file: %s", filename); + /* Adds an extra newline to end of file */ config = read_config_file (filename, flags, error_func); if (!config) @@ -226,6 +230,9 @@ conf_parse_file (const char* filename, int flags, errno = ENOMEM; break; } + + debug ("config value: %s = %s", name, value); + if (!hash_set (ht, name, value)) { free (name); free (value); |