X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fzoom-z3950.c;h=80ed7181c09315309bcb135732f37d987560ffe7;hb=d0da7ea31871b3fcb3785ec7e1d06f4739fb6ada;hp=f2517e044c5e038ed5b6837608a3674865f42a36;hpb=30b3c16a904efc6f5e0c4326eaa7e13589921572;p=yaz-moved-to-github.git diff --git a/src/zoom-z3950.c b/src/zoom-z3950.c index f2517e0..80ed718 100644 --- a/src/zoom-z3950.c +++ b/src/zoom-z3950.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2013 Index Data + * Copyright (C) Index Data * See the file LICENSE for details. */ /** @@ -1386,6 +1386,7 @@ static void handle_Z3950_records(ZOOM_connection c, Z_Records *sr, "ZOOM C generated. Present phase and no records"); ZOOM_record_cache_add(resultset, myrec, *start, syntax, elementSetName, schema, 0); + *count = 0; } } else if (present_phase) @@ -1398,6 +1399,7 @@ static void handle_Z3950_records(ZOOM_connection c, Z_Records *sr, "ZOOM C generated: Present response and no records"); ZOOM_record_cache_add(resultset, myrec, *start, syntax, elementSetName, schema, 0); + *count = 0; } } }