projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplify again
[pazpar2-moved-to-github.git]
/
src
/
logic.c
diff --git
a/src/logic.c
b/src/logic.c
index
ced95ee
..
302b6b5
100644
(file)
--- a/
src/logic.c
+++ b/
src/logic.c
@@
-448,7
+448,7
@@
static struct database_criterion *parse_filter(NMEM m, const char *buf)
new->type = PAZPAR2_STRING_MATCH;
else if ((eq = strchr(values[i], '~')))
new->type = PAZPAR2_SUBSTRING_MATCH;
- else if (!eq)
+ else
{
yaz_log(YLOG_WARN, "Missing equal-sign/tilde in filter");
return 0;