projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CCL: split-list deals with use attr YAZ-844
[yaz-moved-to-github.git]
/
src
/
cclfind.c
diff --git
a/src/cclfind.c
b/src/cclfind.c
index
beec793
..
2c8c9fa
100644
(file)
--- a/
src/cclfind.c
+++ b/
src/cclfind.c
@@
-439,7
+439,7
@@
static struct ccl_rpn_node *ccl_term_one_use(CCL_parser cclp,
{
struct ccl_rpn_attr *attr;
for (attr = ccl_qual_get_attr(qa[i]); attr; attr = attr->next)
- if (attr->type != 1 || attr == attr_use)
+ if (attr->type != 1 || !attr_use || attr == attr_use)
{
switch (attr->kind)
{