Skip to content

Commit 78ca32f

Browse files
airweenfzipi
andauthored
Format comment
Co-authored-by: Felipe Zipitría <[email protected]>
1 parent c24ad68 commit 78ca32f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apache2/msc_xml.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ static void msc_xml_on_end_elementns(
9999
// decrease the length of current path length - +1 because of the '\0'
100100
xml_parser_state->pathlen -= (taglen + 1);
101101

102-
// -1 need because we don't need the '.'
102+
// -1 is needed because we don't need the last '.'
103103
char * newpath = apr_pstrndup(msr->mp, xml_parser_state->currpath, xml_parser_state->pathlen - 1);
104104
xml_parser_state->currpath = newpath;
105105

0 commit comments

Comments
 (0)