From: Adam Dickmeiss Date: Mon, 27 Jan 2014 14:50:36 +0000 (+0100) Subject: Sort: no need for present/search handling for sort response X-Git-Tag: v5.0.13~35 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=17d622aba7cd121799024edbca11a4b3cc0789ef;p=yaz-moved-to-github.git Sort: no need for present/search handling for sort response --- diff --git a/src/zoom-z3950.c b/src/zoom-z3950.c index c768782..6e06f14 100644 --- a/src/zoom-z3950.c +++ b/src/zoom-z3950.c @@ -1707,8 +1707,7 @@ 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); - if (ZOOM_connection_Z3950_present(c) == zoom_complete) - ZOOM_connection_remove_task(c); + ZOOM_connection_remove_task(c); break; case Z_APDU_scanResponse: yaz_log(c->log_api, "%p handle_Z3950_apdu Scan response", c);