X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fcclfind.c;h=131ec27d33e3af37fd154bcb29c3808d7c237ed5;hb=8f09a31746ca9b1450cce6106b89f9cfbf53e88f;hp=a80f15464d8c1a9bf320edfbffb13f4c512b6a77;hpb=22c55c8cd417ff79ed5a83fa00556db102fc1685;p=yaz-moved-to-github.git diff --git a/src/cclfind.c b/src/cclfind.c index a80f154..131ec27 100644 --- a/src/cclfind.c +++ b/src/cclfind.c @@ -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++)