X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fzoom-z3950.c;h=e8304c3ed6c7dcb58e6a0e080c15366b6d9e2e27;hp=f2517e044c5e038ed5b6837608a3674865f42a36;hb=b0d1ba321a6bd82a2b511e4a707248ccc3c719e0;hpb=9afc8581574131c6d3ecea36c85740c07714318c diff --git a/src/zoom-z3950.c b/src/zoom-z3950.c index f2517e0..e8304c3 100644 --- a/src/zoom-z3950.c +++ b/src/zoom-z3950.c @@ -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; } } }