projects
/
yaz-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:
970071e
)
Fix ZOOM_connection_Z3950_search: Assertion YAZ-750
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 10 Mar 2014 10:23:55 +0000
(11:23 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 10 Mar 2014 10:23:55 +0000
(11:23 +0100)
The standalone ZOOM sort was completely broken since 5.0.13.
src/zoom-z3950.c
patch
|
blob
|
history
diff --git
a/src/zoom-z3950.c
b/src/zoom-z3950.c
index
8afcd01
..
63202f3
100644
(file)
--- a/
src/zoom-z3950.c
+++ b/
src/zoom-z3950.c
@@
-1554,7
+1554,7
@@
zoom_ret ZOOM_connection_Z3950_search(ZOOM_connection c)
ZOOM_resultset resultset;
int *start, *count;
- if (!c->tasks)
+ if (!c->tasks || c->tasks->which == ZOOM_TASK_SORT)
return zoom_complete;
assert(c->tasks->which == ZOOM_TASK_SEARCH);
resultset = c->tasks->u.search.resultset;