From 78ca32f280d1d290428eb10a0246553b15e22993 Mon Sep 17 00:00:00 2001 From: Ervin Hegedus Date: Sat, 26 Apr 2025 20:02:07 +0200 Subject: [PATCH] Format comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Felipe Zipitría <3012076+fzipi@users.noreply.github.com> --- apache2/msc_xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache2/msc_xml.c b/apache2/msc_xml.c index 324e835b..d3d420ab 100644 --- a/apache2/msc_xml.c +++ b/apache2/msc_xml.c @@ -99,7 +99,7 @@ static void msc_xml_on_end_elementns( // decrease the length of current path length - +1 because of the '\0' xml_parser_state->pathlen -= (taglen + 1); - // -1 need because we don't need the '.' + // -1 is needed because we don't need the last '.' char * newpath = apr_pstrndup(msr->mp, xml_parser_state->currpath, xml_parser_state->pathlen - 1); xml_parser_state->currpath = newpath;