From ca6a981e9db639044914a8dbf32f50b6e09bb271 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 27 Sep 2012 15:45:07 +0200 Subject: [PATCH] Fix bug introduced by previous commit Improved check for client_parse_query return value. --- src/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session.c b/src/session.c index e2eda61..bb8cc7f 100644 --- a/src/session.c +++ b/src/session.c @@ -764,7 +764,7 @@ enum pazpar2_error_code session_search(struct session *se, no_failed_query++; else if (parse_ret == -2) no_failed_limit++; - else if (parse_ret) + else if (parse_ret < 0) no_working++; /* other error, such as bad CCL map */ else { -- 1.7.10.4