Skip to content

Commit 2000f4c

Browse files
airweentheseion
andauthored
Update comment
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
1 parent 159f612 commit 2000f4c

File tree

1 file changed

+1
-1
lines changed
  • src/request_body_processor

1 file changed

+1
-1
lines changed

src/request_body_processor/xml.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class MSCSAXHandler {
8686
}
8787
}
8888
if (xml_data->currpath.length() > 0) {
89-
// set an offset to store this is the first item or not -> remove the '.' or not
89+
// set an offset to store whether this is the first item, in order to know whether to remove the '.'
9090
int offset = (xml_data->nodes.size() > 1) ? 1 : 0;
9191
xml_data->currpath.erase(xml_data->currpath.length() - (name.length()+offset));
9292
}

0 commit comments

Comments
 (0)