X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=index%2Fzinfo.c;h=10775d6f5e045e36885e55cf861f7974787b3091;hb=7d58178a1dc3caf91251a0d27a0e4e9e033b1b63;hp=7a2f3bc33df01ae7d0b8706af50fd608d597b1ed;hpb=2b1851bd5565e3d21f9cf9a37661a584c063b75f;p=idzebra-moved-to-github.git diff --git a/index/zinfo.c b/index/zinfo.c index 7a2f3bc..10775d6 100644 --- a/index/zinfo.c +++ b/index/zinfo.c @@ -3,7 +3,7 @@ * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * - * $Id: zinfo.c,v 1.25 2002-04-04 14:14:13 adam Exp $ + * $Id: zinfo.c,v 1.26 2002-04-11 20:09:47 adam Exp $ */ #include @@ -435,7 +435,11 @@ ZebraExplainInfo zebraExplain_open ( data1_node *node_tgtinfo, *node_zebra, *node_list, *np; zei->data1_target = read_sgml_rec (zei->dh, zei->nmem, trec); +#if 0 if (!zei->data1_target || !zei->data1_target->u.root.absyn) +#else + if (!zei->data1_target) +#endif { logf (LOG_FATAL, "Explain schema missing. Check profilePath"); nmem_destroy (zei->nmem); @@ -541,7 +545,7 @@ ZebraExplainInfo zebraExplain_open ( "1\n" "Zebra\n" "\n" ); - if (!zei->data1_target || !zei->data1_target->u.root.absyn) + if (!zei->data1_target) { logf (LOG_FATAL, "Explain schema missing. Check profilePath"); nmem_destroy (zei->nmem);