Format comment

Co-authored-by: Felipe Zipitría <3012076+fzipi@users.noreply.github.com>
This commit is contained in:
Ervin Hegedus
2025-04-26 20:02:07 +02:00
committed by GitHub
parent c24ad689be
commit 78ca32f280

View File

@@ -99,7 +99,7 @@ static void msc_xml_on_end_elementns(
// decrease the length of current path length - +1 because of the '\0' // decrease the length of current path length - +1 because of the '\0'
xml_parser_state->pathlen -= (taglen + 1); 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); char * newpath = apr_pstrndup(msr->mp, xml_parser_state->currpath, xml_parser_state->pathlen - 1);
xml_parser_state->currpath = newpath; xml_parser_state->currpath = newpath;