apr-util/apr-util-1.6.1-r1894933.patch
Joe Orton 29d1d66232 fix build with OpenLDAP 2.6 (#2032706)
Resolves: rhbz#2032706
2022-02-01 08:36:37 +00:00

16 lines
562 B
Diff

# ./pullrev.sh 1894933
http://svn.apache.org/viewvc?view=revision&revision=1894933
--- apr-1.6.1/xml/apr_xml.c
+++ apr-1.6.1/xml/apr_xml.c
@@ -457,8 +457,7 @@
APU_DECLARE(apr_status_t) apr_xml_parser_done(apr_xml_parser *parser,
apr_xml_doc **pdoc)
{
- char end;
- apr_status_t status = do_parse(parser, &end, 0, 1 /* is_final */);
+ apr_status_t status = do_parse(parser, "", 0, 1 /* is_final */);
/* get rid of the parser */
(void) apr_pool_cleanup_run(parser->p, parser, cleanup_parser);