X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fmod_dom.c;h=1832b056f06391f4093c3e9bd9d8f0ee5175e414;hb=27a6d4f7f7425896345ab5a2bfdf35a96c97416e;hp=eb4bc634470e8a5e8a70c9c9698c4f29a8d3b4b4;hpb=9982694ca69efc2bf4db54cd5b5607e3680cd32a;p=idzebra-moved-to-github.git diff --git a/index/mod_dom.c b/index/mod_dom.c index eb4bc63..1832b05 100644 --- a/index/mod_dom.c +++ b/index/mod_dom.c @@ -1,5 +1,4 @@ - -/* $Id: mod_dom.c,v 1.32 2007-03-14 14:16:14 adam Exp $ +/* $Id: mod_dom.c,v 1.34 2007-04-07 22:18:46 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -822,7 +821,7 @@ static void set_record_info(struct filter_info *tinfo, const char * type_p) { /* writing debug info out */ - if (1 || extctr->flagShowRecords) + if (extctr && extctr->flagShowRecords) dom_log(YLOG_LOG, tinfo, node, "RECORD id=%s rank=%s type=%s", id_p ? (const char *) id_p : "(null)",