X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftest_pquery.c;h=49cf998a137eafeb905592fc857a7510afb5682f;hb=7c7e37084545799555a7e49e0fb4d3d6f44f3a44;hp=bac5c1645814982e1d6e1d0ce3780d4c803988d4;hpb=77c5a4fca8b516fd39b8ba213daed17a465a6b2a;p=yaz-moved-to-github.git diff --git a/test/test_pquery.c b/test/test_pquery.c index bac5c16..49cf998 100644 --- a/test/test_pquery.c +++ b/test/test_pquery.c @@ -42,11 +42,11 @@ int expect_pqf(const char *pqf, const char *expect_pqf, int expect_error) else if (expect_error == YAZ_PQF_ERROR_NONE) { WRBUF wrbuf = wrbuf_alloc(); - + if (wrbuf) { yaz_rpnquery_to_wrbuf(wrbuf, rpn); - + if (!strcmp(wrbuf_cstr(wrbuf), expect_pqf)) { res = 1;