From f22aee0a271559cb1fc0eed0b7583019e34fc4e0 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 2 Apr 2007 16:57:08 +0000 Subject: [PATCH] Removed a few YLOG_LOG messages. This could be enough to fix bug #1012. --- index/mod_dom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index/mod_dom.c b/index/mod_dom.c index eb4bc63..05f2009 100644 --- a/index/mod_dom.c +++ b/index/mod_dom.c @@ -1,5 +1,5 @@ -/* $Id: mod_dom.c,v 1.32 2007-03-14 14:16:14 adam Exp $ +/* $Id: mod_dom.c,v 1.33 2007-04-02 16:57:08 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -822,7 +822,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)", -- 1.7.10.4