X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Fclient.c;h=da0fd366ef04e133e6f0566ef7db54d4481bced4;hb=0380a06a86927164ff17500bcf7c3b54fd5428c4;hp=5e7f270650a9b9bbfd5405d9786c4b2ab2c58708;hpb=2614d567118004072591ae55a387d2cbb1d18130;p=yaz-moved-to-github.git diff --git a/client/client.c b/client/client.c index 5e7f270..da0fd36 100644 --- a/client/client.c +++ b/client/client.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. */ /** \file client.c @@ -4444,6 +4444,8 @@ static void http_response(Z_HTTP_Response *hres) if (ret == 0 && sr->which == Z_SRW_searchRetrieve_response) handle_srw_response(sr->u.response); + else if (ret == 0 && sr->which == Z_SRW_scan_response) + handle_srw_scan_response(sr->u.scan_response); else { printf("Decoding of SOLR package failed\n");