X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fzoom-sru.c;h=c3328feeff4de4dc309336693a110316a1c65666;hp=836f69e87bb6e7a387b37514ae2fb844259dd5c3;hb=8fe13e342d037b0a7a265dfbf19c8d71e7eb9d49;hpb=79f02618682f616509d80665126918a07d1f9e80 diff --git a/src/zoom-sru.c b/src/zoom-sru.c index 836f69e..c3328fe 100644 --- a/src/zoom-sru.c +++ b/src/zoom-sru.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2012 Index Data + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ /** @@ -404,8 +404,12 @@ int ZOOM_handle_sru(ZOOM_connection c, Z_HTTP_Response *hres, Z_SRW_PDU *sr; ret = yaz_solr_decode_response(c->odr_in, hres, &sr); if (ret == 0) + { if (sr->which == Z_SRW_searchRetrieve_response) *cret = handle_srw_response(c, sr->u.response); + else if (sr->which == Z_SRW_scan_response) + handle_srw_scan_response(c, sr->u.scan_response); + } } else {