From 14193dbf3175e67a99dfcd8080786249b3ce94b3 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 9 Mar 2006 00:08:29 +0000 Subject: [PATCH] Use proper recordcharset for opacxml --- src/yaz-proxy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/yaz-proxy.cpp b/src/yaz-proxy.cpp index 1edd048..7f073cc 100644 --- a/src/yaz-proxy.cpp +++ b/src/yaz-proxy.cpp @@ -1,4 +1,4 @@ -/* $Id: yaz-proxy.cpp,v 1.41 2005-11-30 11:38:46 adam Exp $ +/* $Id: yaz-proxy.cpp,v 1.42 2006-03-09 00:08:29 adam Exp $ Copyright (c) 1998-2005, Index Data. This file is part of the yaz-proxy. @@ -1041,7 +1041,7 @@ void Yaz_Proxy::convert_to_marcxml(Z_NamePlusRecordList *p, { WRBUF w = wrbuf_alloc(); - yaz_display_OPAC(w, r->u.opac, 0); + yaz_opac_decode_wrbuf(mt, r->u.opac, w); npr->u.databaseRecord = z_ext_record( odr_encode(), VAL_TEXT_XML, wrbuf_buf(w), wrbuf_len(w) -- 1.7.10.4