[vlc-commits] libxml: return attribute name on ReaderNextAttr
Ilkka Ollakka
git at videolan.org
Fri Jan 21 16:47:30 CET 2011
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Fri Jan 21 17:46:17 2011 +0200| [275dd46200918d3c57e34aa2697feb506ac23b22] | committer: Ilkka Ollakka
libxml: return attribute name on ReaderNextAttr
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=275dd46200918d3c57e34aa2697feb506ac23b22
---
modules/misc/xml/libxml.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/misc/xml/libxml.c b/modules/misc/xml/libxml.c
index 6ce4424..70fef06 100644
--- a/modules/misc/xml/libxml.c
+++ b/modules/misc/xml/libxml.c
@@ -272,7 +272,7 @@ static const char *ReaderNextAttr( xml_reader_t *p_reader )
{
if( xmlTextReaderMoveToNextAttribute( p_reader->p_sys->xml ) != 1 )
return NULL;
- return (const char *)xmlTextReaderConstValue( p_reader->p_sys->xml );
+ return (const char *)xmlTextReaderConstName( p_reader->p_sys->xml );
}
static int StreamRead( void *p_context, char *p_buffer, int i_buffer )
More information about the vlc-commits
mailing list