We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c24ad68 commit 78ca32fCopy full SHA for 78ca32f
apache2/msc_xml.c
@@ -99,7 +99,7 @@ static void msc_xml_on_end_elementns(
99
// decrease the length of current path length - +1 because of the '\0'
100
xml_parser_state->pathlen -= (taglen + 1);
101
102
- // -1 need because we don't need the '.'
+ // -1 is needed because we don't need the last '.'
103
char * newpath = apr_pstrndup(msr->mp, xml_parser_state->currpath, xml_parser_state->pathlen - 1);
104
xml_parser_state->currpath = newpath;
105
0 commit comments