From 537262988ff9e842f459b2af684b300dfc425641 Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 2 Aug 2005 21:10:24 +0000 Subject: [PATCH] bugfix git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@451 9efc2488-bf62-4759-914b-345cdb29e865 --- src/gateway/fieldmapper-c-xml-out.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gateway/fieldmapper-c-xml-out.pl b/src/gateway/fieldmapper-c-xml-out.pl index 5aa9740..da60727 100755 --- a/src/gateway/fieldmapper-c-xml-out.pl +++ b/src/gateway/fieldmapper-c-xml-out.pl @@ -87,10 +87,10 @@ void _rest_xml_output(growing_buffer* buf, object* obj, char * fm_class, int fm_ /* add class hints if we have a class name */ if(obj->classname) { if(obj->is_null) { - buffer_fadd(buf,"", obj->classname); + buffer_fadd(buf,"<%s>", tag, obj->classname, tag); return; } else { - buffer_fadd(buf,"", obj->classname); + buffer_fadd(buf,"<%s>", tag, obj->classname); } } @@ -186,7 +186,7 @@ void _rest_xml_output(growing_buffer* buf, object* obj, char * fm_class, int fm_ } if(obj->classname) - buffer_add(buf,""); + buffer_fadd(buf,"",tag); } char * _lookup_fm_field(char * class, int pos) { -- 2.11.0