From: Adam Dickmeiss Date: Thu, 27 Sep 2012 13:45:07 +0000 (+0200) Subject: Fix bug introduced by previous commit X-Git-Tag: v1.6.22~47 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=ca6a981e9db639044914a8dbf32f50b6e09bb271;p=pazpar2-moved-to-github.git Fix bug introduced by previous commit Improved check for client_parse_query return value. --- 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 {