From 42ce8026de227450362900372de9611bc21b9ddb Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 8 Oct 2009 12:38:09 +0200 Subject: [PATCH] Simplify again --- src/logic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.7.10.4