mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Format comment
Co-authored-by: Felipe Zipitría <3012076+fzipi@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user