projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix cannot build YAZ on jessie : libgnutls-dev is gone YAZ-797
[yaz-moved-to-github.git]
/
test
/
test_pquery.c
diff --git
a/test/test_pquery.c
b/test/test_pquery.c
index
fdbdee8
..
9c711dd
100644
(file)
--- a/
test/test_pquery.c
+++ b/
test/test_pquery.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2011 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
#if HAVE_CONFIG_H
* See the file LICENSE for details.
*/
#if HAVE_CONFIG_H
@@
-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();
else if (expect_error == YAZ_PQF_ERROR_NONE)
{
WRBUF wrbuf = wrbuf_alloc();
-
+
if (wrbuf)
{
yaz_rpnquery_to_wrbuf(wrbuf, rpn);
if (wrbuf)
{
yaz_rpnquery_to_wrbuf(wrbuf, rpn);
-
+
if (!strcmp(wrbuf_cstr(wrbuf), expect_pqf))
{
res = 1;
if (!strcmp(wrbuf_cstr(wrbuf), expect_pqf))
{
res = 1;