GFS: properly initialise scan stepSixze
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 5 Jul 2011 21:49:51 +0000 (23:49 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 5 Jul 2011 21:49:51 +0000 (23:49 +0200)
src/seshigh.c

index ddb7288..739c998 100644 (file)
@@ -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;