X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=retrieval%2Fd1_doespec.c;h=1c361f001ba414337f827c8a6047b973bccad846;hp=31f357f8c78d3d43c22f1fa98ead0d75a4c3d9ab;hb=e6a55188366477082cb2446e7065d0f624dabcfb;hpb=110e7f1267301bf0174e9423b0b1a7172e0b3ae2 diff --git a/retrieval/d1_doespec.c b/retrieval/d1_doespec.c index 31f357f..1c361f0 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.5 1996-07-06 19:58:34 quinn + * Revision 1.6 1996-10-11 11:57:22 quinn + * Smallish + * + * Revision 1.5 1996/07/06 19:58:34 quinn * System headerfiles gathered in yconfig * * Revision 1.4 1996/06/07 11:04:32 quinn @@ -196,8 +199,9 @@ static int match_children_here(data1_node *n, Z_Espec1 *e, int i, * have we looked at enough children? */ if (!occur || (occur->which == Z_Occurrences_values && + (!occur->u.values->howMany || counter - *occur->u.values->start >= - *occur->u.values->howMany - 1)) + *occur->u.values->howMany - 1))) return hits; } }