/* This file is part of Metaproxy.
- Copyright (C) 2005-2011 Index Data
+ Copyright (C) 2005-2012 Index Data
Metaproxy is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
os << "-";
os << " ";
- WRBUF wr = wrbuf_alloc();
+ mp::wrbuf wr;
yaz_query_to_wrbuf(wr, sr->query);
os << wrbuf_cstr(wr);
- wrbuf_destroy(wr);
}
break;
case Z_APDU_searchResponse:
os << " ";
if (sr->termListAndStartPoint)
{
- WRBUF wr = wrbuf_alloc();
+ mp::wrbuf wr;
yaz_scan_to_wrbuf(wr, sr->termListAndStartPoint,
sr->attributeSet);
os << wrbuf_cstr(wr);
- wrbuf_destroy(wr);
}
else
os << "-";