X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftstccl.c;h=f5aac606f4f1ed5c34a1c00011070870a813fa8e;hb=3bfe867a001cb4e4f88d47541f77a21027719bd5;hp=6cb694f40b9bf7969b8efc8156b1bc62e2f9f720;hpb=401da56d4a26f687cd42024bdef6f29a29bb7663;p=yaz-moved-to-github.git diff --git a/test/tstccl.c b/test/tstccl.c index 6cb694f..f5aac60 100644 --- a/test/tstccl.c +++ b/test/tstccl.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: tstccl.c,v 1.14 2007-03-19 14:40:07 adam Exp $ + * $Id: tstccl.c,v 1.15 2007-03-19 22:17:41 adam Exp $ */ /* CCL test */ @@ -36,7 +36,7 @@ static int tst_ccl_query(CCL_bibset bibset, ccl_pquery(wrbuf, rpn); /* check expect a result and that it matches */ - if (result && !strcmp(wrbuf_buf(wrbuf), result)) + if (result && !strcmp(wrbuf_cstr(wrbuf), result)) ret = 1; else ret = 0;