CCL: fix syntax error
[yaz-moved-to-github.git] / src / cclfind.c
index a80f154..131ec27 100644 (file)
@@ -385,7 +385,7 @@ static struct ccl_rpn_node *search_term_x(CCL_parser cclp,
 
             if (p->u.t.term[0] && cclp->look_token->ws_prefix_len)
             {
 
             if (p->u.t.term[0] && cclp->look_token->ws_prefix_len)
             {
-                strxcat(p->u.term, cclp->look_token->ws_prefix_buf,
+                strxcat(p->u.t.term, cclp->look_token->ws_prefix_buf,
                         cclp->look_token->ws_prefix_len);
             }
             for (j = 0; j < src_len; j++)
                         cclp->look_token->ws_prefix_len);
             }
             for (j = 0; j < src_len; j++)