X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=retrieval%2Fd1_doespec.c;h=5914a678db5dc9b0fed4414c73a740e6fba5690f;hp=31f357f8c78d3d43c22f1fa98ead0d75a4c3d9ab;hb=85a2e7affad79fd8bd59b403ba7b5f7867d60523;hpb=bc33b8b53697bcc10a02f7e7456fd75b2c3473ef diff --git a/retrieval/d1_doespec.c b/retrieval/d1_doespec.c index 31f357f..5914a67 100644 --- a/retrieval/d1_doespec.c +++ b/retrieval/d1_doespec.c @@ -4,7 +4,13 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: d1_doespec.c,v $ - * Revision 1.5 1996-07-06 19:58:34 quinn + * Revision 1.7 1997-04-30 08:52:11 quinn + * Null + * + * 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 +202,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; } }