libgcobol/ChangeLog:
        PR cobol/122451

        * xmlparse.cc (xml_push_parse): Fix xmlCtxtGetVersion argument
        typo to be 'context'.
---
 libgcobol/xmlparse.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libgcobol/xmlparse.cc b/libgcobol/xmlparse.cc
index edaf12415c22..59d407215441 100644
--- a/libgcobol/xmlparse.cc
+++ b/libgcobol/xmlparse.cc
@@ -734,7 +734,7 @@ xml_push_parse( cblc_field_t *input_field,
   context.push( input_field, input_offset, len, false);
 
 #if LIBXML_VERSION >= 21400
-  const xmlChar * version = xmlCtxtGetVersion( ctxt );
+  const xmlChar * version = xmlCtxtGetVersion( context );
 #else
   const xmlChar * version = xmlchar_of("requires version 2.14");
 #endif
-- 
2.51.1

Reply via email to