diff --git a/VERSION b/VERSION index 07ef544a..6feb33b2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -a12-163-ge7345b9711+1 \ No newline at end of file +a12-164-g63314941f6+1 \ No newline at end of file diff --git a/common/src/option.c b/common/src/option.c index ee4c40f4..9a266db2 100644 --- a/common/src/option.c +++ b/common/src/option.c @@ -233,7 +233,7 @@ struct OptionValue * option_get(const char * module, const char * name) for(int i = 0; i < state.oCount; ++i) { struct Option * o = &state.options[i]; - if ((strcmp(o->module, module) == 0) || (strcmp(o->name, name) == 0)) + if ((strcmp(o->module, module) == 0) && (strcmp(o->name, name) == 0)) return &o->value; } return NULL;