X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fseshigh.c;h=b9801ff1e46a9fa8401889ecd4d029c7d795bce9;hb=0518ff4b2713b8d219ae1e31ba92562f9e89f97b;hp=bd1ec843e678c621f11d5014341aaecddce86289;hpb=5c0e243664a63c8522d400abbda6dc892cae4349;p=yaz-moved-to-github.git diff --git a/src/seshigh.c b/src/seshigh.c index bd1ec84..b9801ff 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -2518,6 +2518,8 @@ static Z_Records *pack_records(association *a, char *setname, Odr_int start, { yaz_log(log_requestdetail, " Dropped last normal-sized record"); *pres = Z_PresentStatus_partial_2; + if (*next > 0) + (*next)--; break; } /* record can only be fetched by itself */