From: Adam Dickmeiss Date: Mon, 8 Mar 2010 10:20:51 +0000 (+0100) Subject: CCL: fix parsing of ccl qualifiers aliases X-Git-Tag: v4.0.2~6 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=9773a01f6dae65e5f9c424b3f2bc7454b8270cfc;p=yaz-moved-to-github.git CCL: fix parsing of ccl qualifiers aliases The configuration specification for CCL qualifier aliases is now parsed correctly. --- diff --git a/src/cclqfile.c b/src/cclqfile.c index 7583610..a2bb336 100644 --- 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);