X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=rset%2Frsisamb.c;h=ffab998618380f8b3998199616a4b43d3f548685;hb=4da0cd2978c9a902be772e95302e6522175402fd;hp=0bc710771257c3560ba5efd131366e8c5e80db2e;hpb=3130b11f24005f76a61a4b781991d2dc3cb6530e;p=idzebra-moved-to-github.git diff --git a/rset/rsisamb.c b/rset/rsisamb.c index 0bc7107..ffab998 100644 --- a/rset/rsisamb.c +++ b/rset/rsisamb.c @@ -1,4 +1,4 @@ -/* $Id: rsisamb.c,v 1.11 2004-08-04 09:59:03 heikki Exp $ +/* $Id: rsisamb.c,v 1.12 2004-08-06 09:43:04 heikki Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -177,6 +177,10 @@ static void r_pos (RSFD rfd, zint *current, zint *total) struct rset_pp_info *pinfo = (struct rset_pp_info *) rfd; assert(rfd); isamb_pp_pos(pinfo->pt, current, total); +#if RSET_DEBUG + logf(LOG_DEBUG,"isamb.r_pos returning "ZINT_FORMAT"/"ZINT_FORMAT, + *current, *total); +#endif } static int r_read (RSFD rfd, void *buf, int *term_index) @@ -184,6 +188,7 @@ static int r_read (RSFD rfd, void *buf, int *term_index) struct rset_pp_info *pinfo = (struct rset_pp_info *) rfd; int r; *term_index = 0; + r = isamb_pp_read(pinfo->pt, buf); if (r > 0) {