From 3dbc44820fa5b82541856e83a370f6a1dfddc9a9 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 10 Mar 2014 11:23:55 +0100 Subject: [PATCH] Fix ZOOM_connection_Z3950_search: Assertion YAZ-750 The standalone ZOOM sort was completely broken since 5.0.13. --- src/zoom-z3950.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zoom-z3950.c b/src/zoom-z3950.c index 8afcd01..63202f3 100644 --- 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; -- 1.7.10.4