X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fmod_dom.c;h=f369c68904ccf3734cdd0cc26b5e39af00d55459;hb=1b13fcc6c6e0820ce52c340155e84ae69a4b18a8;hp=4d8b02d22d6c2b2776d841e346b10c8643389de7;hpb=f613e5baf878c308d24808fa279145269fc2490a;p=idzebra-moved-to-github.git diff --git a/index/mod_dom.c b/index/mod_dom.c index 4d8b02d..f369c68 100644 --- a/index/mod_dom.c +++ b/index/mod_dom.c @@ -1,4 +1,4 @@ -/* $Id: mod_dom.c,v 1.40 2007-10-21 19:39:00 adam Exp $ +/* $Id: mod_dom.c,v 1.41 2007-10-29 16:57:52 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -780,7 +780,7 @@ static void index_value_of(struct filter_info *tinfo, recword->index_name = (const char *)index; if (type && *type) - recword->index_type = *type; + recword->index_type = (const char *) type; /* writing debug out */ if (extctr->flagShowRecords) @@ -790,10 +790,6 @@ static void index_value_of(struct filter_info *tinfo, type ? (const char *) type : "null", text ? (const char *) text : "null"); - /* actually indexing the text given */ - recword->index_name = (const char *)index; - if (type && *type) - recword->index_type = *type; (extctr->tokenAdd)(recword); /* eat whitespaces */