ports/net/xmlrpc-c/patches/patch-lib_expat_xmlparse_xmlparse_c

13 lines
348 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: lib/expat/xmlparse/xmlparse.c
--- lib/expat/xmlparse/xmlparse.c.orig
+++ lib/expat/xmlparse/xmlparse.c
@@ -3195,7 +3195,7 @@ doIgnoreSection(XML_Parser const xmlParserP,
int tok;
*evPtr.startP = s;
- *startPtr = '\0';
+ *startPtr = NULL;
tok = XmlIgnoreSectionTok(enc, s, end, &next);
*evPtr.endP = next;