X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=rset%2Frstemp.c;h=3d88cfbf91186a9e94747ec05a2621b05b2e5d93;hb=b1e27ac647d3f28b773603157077a9d55e5ec3eb;hp=e32822b2e66b949c37898060bc69897ce3aaeacd;hpb=896c0427df9d8eff5de6a1735dcd992e067df844;p=idzebra-moved-to-github.git diff --git a/rset/rstemp.c b/rset/rstemp.c index e32822b..3d88cfb 100644 --- a/rset/rstemp.c +++ b/rset/rstemp.c @@ -1,5 +1,5 @@ -/* $Id: rstemp.c,v 1.33 2002-08-02 19:26:57 adam Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 +/* $Id: rstemp.c,v 1.34 2003-03-18 08:53:35 adam Exp $ + Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003 Index Data Aps This file is part of the Zebra server. @@ -137,6 +137,7 @@ static RSFD r_open (RSET ct, int flag) r_rewind (rfd); rfd->countp = &ct->rset_terms[0]->count; + *rfd->countp = 0; rfd->buf = xmalloc (info->key_size); return rfd;