From: Adam Dickmeiss - Indexdata Date: Thu, 3 Apr 2008 08:21:25 +0000 (+0200) Subject: Fix isamb_pp_forward to update the returned_numbers. X-Git-Tag: v2.0.28~4 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=7297814fe530200ab3f1bc56380206834e8c3a82;p=idzebra-moved-to-github.git Fix isamb_pp_forward to update the returned_numbers. --- diff --git a/isamb/isamb.c b/isamb/isamb.c index 3b72464..2d342a3 100644 --- a/isamb/isamb.c +++ b/isamb/isamb.c @@ -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; }