From: Adam Dickmeiss Date: Tue, 5 Jul 2011 21:49:51 +0000 (+0200) Subject: GFS: properly initialise scan stepSixze X-Git-Tag: v4.2.8~21 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=fc9ad7425061fafd9340229aa006c4db115deee7;p=yaz-moved-to-github.git GFS: properly initialise scan stepSixze --- diff --git a/src/seshigh.c b/src/seshigh.c index ddb7288..739c998 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -2968,6 +2968,7 @@ static Z_APDU *process_scanRequest(association *assoc, request *reqb) if (req->stepSize) step_size = odr_int_to_int(*req->stepSize); + res->stepSize = 0; res->scanStatus = scanStatus; res->numberOfEntriesReturned = numberOfEntriesReturned; res->positionOfTerm = 0;