From 1c13455bb1e12b4e74361e58d5862c9597c1b5c7 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 22 Aug 2005 14:39:47 +0000 Subject: [PATCH] Increase params array. If not it'll get overriden when snippets are in use. --- recctrl/alvis.c | 6 +++--- recctrl/xslt.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/recctrl/alvis.c b/recctrl/alvis.c index 8cdc8eb..c25b5ce 100644 --- a/recctrl/alvis.c +++ b/recctrl/alvis.c @@ -1,4 +1,4 @@ -/* $Id: alvis.c,v 1.6 2005-08-22 09:03:34 adam Exp $ +/* $Id: alvis.c,v 1.7 2005-08-22 14:39:47 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -96,7 +96,7 @@ static void set_param_int(const char **params, const char *name, params[2] = 0; } -#define ENABLE_INPUT_CALLBACK 1 +#define ENABLE_INPUT_CALLBACK 0 #if ENABLE_INPUT_CALLBACK static int zebra_xmlInputMatchCallback (char const *filename) @@ -547,7 +547,7 @@ static const char *snippet_doc(struct recRetrieveCtrl *p, int text_mode, static int filter_retrieve (void *clientData, struct recRetrieveCtrl *p) { const char *esn = zebra_xslt_ns; - const char *params[10]; + const char *params[20]; struct filter_info *tinfo = clientData; xmlDocPtr resDoc; xmlDocPtr doc; diff --git a/recctrl/xslt.c b/recctrl/xslt.c index bbf2658..9904548 100644 --- a/recctrl/xslt.c +++ b/recctrl/xslt.c @@ -1,4 +1,4 @@ -/* $Id: xslt.c,v 1.15 2005-08-22 09:03:34 adam Exp $ +/* $Id: xslt.c,v 1.16 2005-08-22 14:39:47 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -96,7 +96,7 @@ static void set_param_int(const char **params, const char *name, params[2] = 0; } -#define ENABLE_INPUT_CALLBACK 1 +#define ENABLE_INPUT_CALLBACK 0 #if ENABLE_INPUT_CALLBACK static int zebra_xmlInputMatchCallback (char const *filename) @@ -547,7 +547,7 @@ static const char *snippet_doc(struct recRetrieveCtrl *p, int text_mode, static int filter_retrieve (void *clientData, struct recRetrieveCtrl *p) { const char *esn = zebra_xslt_ns; - const char *params[10]; + const char *params[20]; struct filter_info *tinfo = clientData; xmlDocPtr resDoc; xmlDocPtr doc; -- 1.7.10.4