projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c0e243
)
CCL: fix parsing of ccl qualifiers aliases
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 8 Mar 2010 10:20:51 +0000
(11:20 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 8 Mar 2010 10:20:51 +0000
(11:20 +0100)
The configuration specification for CCL qualifier aliases is now parsed
correctly.
src/cclqfile.c
patch
|
blob
|
history
diff --git
a/src/cclqfile.c
b/src/cclqfile.c
index
7583610
..
a2bb336
100644
(file)
--- a/
src/cclqfile.c
+++ b/
src/cclqfile.c
@@
-83,10
+83,11
@@
int ccl_qual_field2(CCL_bibset bibset, const char *cp, const char *qual_name,
qlist[i++] = lead_str;
- while ((t=yaz_tok_move(tp)) == YAZ_TOK_STRING)
+ while (t == YAZ_TOK_STRING)
{
if (i < sizeof(qlist)/sizeof(*qlist)-1)
qlist[i++] = xstrdup(yaz_tok_parse_string(tp));
+ t = yaz_tok_move(tp);
}
qlist[i] = 0;
yaz_tok_parse_destroy(tp);