From: Adam Dickmeiss Date: Thu, 8 Oct 2009 10:38:09 +0000 (+0200) Subject: Simplify again X-Git-Tag: v1.2.2~21 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=42ce8026de227450362900372de9611bc21b9ddb;p=pazpar2-moved-to-github.git Simplify again --- diff --git a/src/logic.c b/src/logic.c index ced95ee..302b6b5 100644 --- 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;