diff --git a/src/tool_parsecfg.c b/src/tool_parsecfg.c index 7a161c3bb8762978dc85999b62d5a4d963983f38..c5d390b7ab9cd180fa4e08855f5a6a9a2e095e9d 100644 --- a/src/tool_parsecfg.c +++ b/src/tool_parsecfg.c @@ -208,7 +208,7 @@ int parseconfig(const char *filename, struct GlobalConfig *global) } } - if(param && !*param) { + if(!*param) { /* do this so getparameter can check for required parameters. Otherwise it always thinks there's a parameter. */ if(alloced_param)