summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
48d7952)
Fix the filter parsing so that equal name=value is working again.
In parse_filter, the eq would be set to NULL after finding '='.
char *eq;
if ((eq = strchr(values[i], '=')))
new->type = PAZPAR2_STRING_MATCH;
char *eq;
if ((eq = strchr(values[i], '=')))
new->type = PAZPAR2_STRING_MATCH;
- if ((eq = strchr(values[i], '~')))
+ else if ((eq = strchr(values[i], '~')))
new->type = PAZPAR2_SUBSTRING_MATCH;
if (!eq)
{
new->type = PAZPAR2_SUBSTRING_MATCH;
if (!eq)
{