File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ xmlDocPtr soap_xmlParseFile(const char *filename TSRMLS_DC)
92
92
PG (allow_url_fopen ) = old_allow_url_fopen ;
93
93
if (ctxt ) {
94
94
ctxt -> keepBlanks = 0 ;
95
- ctxt -> options -= XML_PARSE_DTDLOAD ;
95
+ ctxt -> options &= ~ XML_PARSE_DTDLOAD ;
96
96
ctxt -> sax -> ignorableWhitespace = soap_ignorableWhitespace ;
97
97
ctxt -> sax -> comment = soap_Comment ;
98
98
ctxt -> sax -> warning = NULL ;
@@ -134,7 +134,7 @@ xmlDocPtr soap_xmlParseMemory(const void *buf, size_t buf_size)
134
134
*/
135
135
ctxt = xmlCreateMemoryParserCtxt (buf , buf_size );
136
136
if (ctxt ) {
137
- ctxt -> options -= XML_PARSE_DTDLOAD ;
137
+ ctxt -> options &= ~ XML_PARSE_DTDLOAD ;
138
138
ctxt -> sax -> ignorableWhitespace = soap_ignorableWhitespace ;
139
139
ctxt -> sax -> comment = soap_Comment ;
140
140
ctxt -> sax -> warning = NULL ;
You can’t perform that action at this time.
0 commit comments