From 374ec67294fc4f66e87e88fa67d13ee829008559 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 27 Oct 2025 22:53:00 +0000 Subject: [PATCH] libgcobol: fix xmlCtxtGetVersion typo 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 edaf12415c2..59d40721544 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.47.3