X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Falvis.c;h=40405e1c33cfe9bc4304d7eb6ea8fda61d0e6a95;hb=c33ea56e3771c3b80ba66ef8fda3a09cad171ebb;hp=9d4ff4c42e74c62709c7a48040a92b392f7a1ed7;hpb=7415d28c149c1bab51fe93aeaccdd14085b69bd9;p=idzebra-moved-to-github.git diff --git a/index/alvis.c b/index/alvis.c index 9d4ff4c..40405e1 100644 --- a/index/alvis.c +++ b/index/alvis.c @@ -1,5 +1,5 @@ -/* $Id: alvis.c,v 1.1 2006-07-03 14:27:09 adam Exp $ - Copyright (C) 1995-2005 +/* $Id: alvis.c,v 1.3 2006-08-22 13:39:26 adam Exp $ + Copyright (C) 1995-2006 Index Data ApS This file is part of the Zebra server. @@ -15,9 +15,9 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with Zebra; see the file LICENSE.zebra. If not, write to the -Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ #include @@ -336,7 +336,7 @@ static void filter_destroy(void *clientData) static int ioread_ex(void *context, char *buffer, int len) { struct recExtractCtrl *p = context; - return (*p->readf)(p->fh, buffer, len); + return p->stream->readf(p->stream, buffer, len); } static int ioclose_ex(void *context) @@ -555,7 +555,7 @@ static int filter_extract(void *clientData, struct recExtractCtrl *p) static int ioread_ret(void *context, char *buffer, int len) { struct recRetrieveCtrl *p = context; - return (*p->readf)(p->fh, buffer, len); + return p->stream->readf(p->stream, buffer, len); } static int ioclose_ret(void *context)