projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated Deb control description so that IDZebra is not mentioned
[idzebra-moved-to-github.git]
/
index
/
alvis.c
diff --git
a/index/alvis.c
b/index/alvis.c
index
2a24a64
..
a752890
100644
(file)
--- a/
index/alvis.c
+++ b/
index/alvis.c
@@
-1,8
+1,5
@@
-/* $Id: alvis.c,v 1.19 2007-08-31 07:02:24 adam Exp $
- Copyright (C) 1995-2007
- Index Data ApS
-
-This file is part of the Zebra server.
+/* This file is part of the Zebra server.
+ Copyright (C) 1995-2008 Index Data
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
@@
-72,16
+69,6
@@
struct filter_info {
static const char *zebra_xslt_ns = ZEBRA_SCHEMA_XSLT_NS;
static const char *zebra_xslt_ns = ZEBRA_SCHEMA_XSLT_NS;
-static void set_param_xml(const char **params, const char *name,
- const char *value, ODR odr)
-{
- while (*params)
- params++;
- params[0] = name;
- params[1] = value;
- params[2] = 0;
-}
-
static void set_param_str(const char **params, const char *name,
const char *value, ODR odr)
{
static void set_param_str(const char **params, const char *name,
const char *value, ODR odr)
{
@@
-398,10
+385,10
@@
static void index_node(struct filter_info *tinfo, struct recExtractCtrl *ctrl,
}
if (name_str)
{
}
if (name_str)
{
- int prev_type = recWord->index_type; /* save default type */
+ const char *prev_type = recWord->index_type; /* save default type */
if (type_str && *type_str)
if (type_str && *type_str)
- recWord->index_type = *type_str; /* type was given */
+ recWord->index_type = (const char *) type_str; /* type was given */
recWord->index_name = name_str;
index_cdata(tinfo, ctrl, ptr->children, recWord);
recWord->index_name = name_str;
index_cdata(tinfo, ctrl, ptr->children, recWord);