PARSE_CHECK(condition.condition != MATCH_UNKNOWN,
"invalid operator");
if (condition.condition != MATCH_EMPTY) {
- p = m_strnextsp(n + 1);
+ p = skipspaces(n + 1);
PARSE_CHECK(*p, "no value defined to check the condition");
condition.value_len = param->value_len - (p - param->value);
condition.value = p_dupstr(p, condition.value_len);
break;
case MATCH_EMPTY:
- return !!(!!(field == NULL || *field == '\0')) ^ (!!cond->case_sensitive);
+ return !!((field == NULL || *field == '\0') ^ (!cond->case_sensitive));
default:
assert(false && "invalid condition type");