projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91332b1
)
Fix bug introduced by previous commit
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 27 Sep 2012 13:45:07 +0000
(15:45 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 27 Sep 2012 13:45:07 +0000
(15:45 +0200)
Improved check for client_parse_query return value.
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index
e2eda61
..
bb8cc7f
100644
(file)
--- 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
{