X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fquerytowrbuf.c;h=70e23df2f304b11e014d4382f4e702f65aeb4064;hb=3ee7ef4088b265faffbdcabe3eb13d5f04a3b832;hp=50e32c47ae37942255c32f1def17f0a244bc7768;hpb=f97d979896de564f24c1e18ac111223afd2f40b3;p=yaz-moved-to-github.git diff --git a/src/querytowrbuf.c b/src/querytowrbuf.c index 50e32c4..70e23df 100644 --- a/src/querytowrbuf.c +++ b/src/querytowrbuf.c @@ -2,12 +2,11 @@ * Copyright (C) 1995-2005, Index Data ApS * All rights reserved. * - * $Id: querytowrbuf.c,v 1.2 2006-01-20 11:01:46 adam Exp $ + * $Id: querytowrbuf.c,v 1.4 2006-04-19 10:05:03 adam Exp $ */ -/** - * \file querytostr.c - * \brief Query to WRBUF (to strings) +/** \file querytowrbuf.c + \brief Query to WRBUF (to strings) */ #include @@ -189,7 +188,7 @@ void yaz_rpnquery_to_wrbuf(WRBUF b, const Z_RPNQuery *rpn) 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); @@ -203,7 +202,7 @@ void yaz_query_to_wrbuf(WRBUF b, const Z_Query *q) { 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: