CCL: fix syntax error
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 20 Sep 2011 11:13:14 +0000 (13:13 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 20 Sep 2011 11:13:14 +0000 (13:13 +0200)
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)
             {
-                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++)