Fix isamb_pp_forward to update the returned_numbers.
authorAdam Dickmeiss - Indexdata <adam@vision.dbc.dk>
Thu, 3 Apr 2008 08:21:25 +0000 (10:21 +0200)
committerAdam Dickmeiss - Indexdata <adam@vision.dbc.dk>
Thu, 3 Apr 2008 08:21:25 +0000 (10:21 +0200)
isamb/isamb.c

index 3b72464..2d342a3 100644 (file)
@@ -1640,6 +1640,7 @@ int isamb_pp_forward(ISAMB_PP pp, void *buf, const void *untilb)
        dst = dst0;
        if (p->offset == p->size) goto again;
     }
+    pp->returned_numbers++; 
     return 1;
 }