X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fconf.c;h=9e5006359b2bbc92846f508f7631532ef1da5f7d;hb=926276659270c80de3df1bdcf8059d6a6d4b1054;hp=35926473f9cbd81faffc24964a335e1801ca7b5d;hpb=1438634cea9b0d2b45ceff0837c3537d41e2281a;p=umurmur.git diff --git a/src/conf.c b/src/conf.c index 3592647..9e50063 100644 --- a/src/conf.c +++ b/src/conf.c @@ -158,6 +158,17 @@ const char *getStrConf(param_t param) return ""; } break; + case LOGFILE: + setting = config_lookup(&configuration, "logfile"); + if (!setting) + return NULL; + else { + if ((strsetting = config_setting_get_string(setting)) != NULL) + return strsetting; + else + return NULL; + } + break; default: doAssert(false); break;