From a3f3407f990d349081d3cc20645b3acea48a674c Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Fri, 7 Jun 1996 11:04:32 +0000 Subject: [PATCH] Fixed tag->tagset dependency --- retrieval/d1_doespec.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/retrieval/d1_doespec.c b/retrieval/d1_doespec.c index 4a1e002..413d9b7 100644 --- a/retrieval/d1_doespec.c +++ b/retrieval/d1_doespec.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: d1_doespec.c,v $ - * Revision 1.3 1995-11-13 09:27:33 quinn + * Revision 1.4 1996-06-07 11:04:32 quinn + * Fixed tag->tagset dependency + * + * Revision 1.3 1995/11/13 09:27:33 quinn * Fiddling with the variant stuff. * * Revision 1.2 1995/11/01 13:54:45 quinn @@ -103,7 +106,8 @@ static int match_children_here(data1_node *n, Z_Espec1 *e, int i, occur = want->occurrences; if (c->u.tag.element) tag = c->u.tag.element->tag; - if (*want->tagType != (tag ? tag->tagset->type : 3)) + if (*want->tagType != ((tag && tag->tagset) ? tag->tagset->type : + 3)) continue; if (want->tagValue->which == Z_StringOrNumeric_numeric) { -- 1.7.10.4