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

12 lines
348 B
Text

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;