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:
7667121
)
Revert "Sort: no need for present/search handling for sort response"
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 6 Feb 2014 09:38:45 +0000
(10:38 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 6 Feb 2014 09:38:45 +0000
(10:38 +0100)
This reverts commit
17d622aba7cd121799024edbca11a4b3cc0789ef
.
We do need present, sometimes, after sort!!
src/zoom-z3950.c
patch
|
blob
|
history
diff --git
a/src/zoom-z3950.c
b/src/zoom-z3950.c
index
6b55074
..
ad46592
100644
(file)
--- a/
src/zoom-z3950.c
+++ b/
src/zoom-z3950.c
@@
-1724,7
+1724,8
@@
void ZOOM_handle_Z3950_apdu(ZOOM_connection c, Z_APDU *apdu)
case Z_APDU_sortResponse:
yaz_log(c->log_api, "%p handle_Z3950_apdu Sort response", c);
handle_Z3950_sort_response(c, apdu->u.sortResponse);
- ZOOM_connection_remove_task(c);
+ if (ZOOM_connection_Z3950_search(c) == zoom_complete)
+ ZOOM_connection_remove_task(c);
break;
case Z_APDU_scanResponse:
yaz_log(c->log_api, "%p handle_Z3950_apdu Scan response", c);