/*
- * Copyright (C) 1995-2005, Index Data ApS
+ * Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: tstpquery.c,v 1.3 2006-10-04 16:59:34 mike Exp $
+ * $Id: tstpquery.c,v 1.5 2007-03-19 14:40:07 adam Exp $
*/
#include <stdlib.h>
{
yaz_rpnquery_to_wrbuf(wrbuf, rpn);
- if (!strcmp(wrbuf_buf(wrbuf), expect_pqf))
+ if (!strcmp(wrbuf_cstr(wrbuf), expect_pqf))
res = 1;
- wrbuf_free(wrbuf, 1);
+ wrbuf_destroy(wrbuf);
}
}
yaz_pqf_destroy(parser);