* Copyright (C) 1995-2005, Index Data ApS
* All rights reserved.
*
- * $Id: querytowrbuf.c,v 1.1 2006-01-20 10:34:51 adam Exp $
+ * $Id: querytowrbuf.c,v 1.3 2006-01-20 14:44:55 adam Exp $
*/
/**
#include <stdio.h>
#include <assert.h>
+#include <yaz/logrpn.h>
#include <yaz/querytowrbuf.h>
static void yaz_term_to_wrbuf(WRBUF b, const char *term, int len)
if (attrset)
{
ast = attrset->value;
- wrbuf_printf(b, " @attrset %s ", attrset->desc);
+ wrbuf_printf(b, "@attrset %s ", attrset->desc);
}
yaz_rpnstructure_to_wrbuf(b, rpn->RPNStructure);
wrbuf_chop_right(b);
{
case Z_Query_type_1:
case Z_Query_type_101:
- wrbuf_printf(b,"RPN:");
+ wrbuf_printf(b,"RPN: ");
yaz_rpnquery_to_wrbuf(b, q->u.type_1);
break;
case Z_Query_type_2: