Skip to content

Commit 86668b0

Browse files
airweentheseion
andauthored
Move function into a bracket separated block
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
1 parent b293ed6 commit 86668b0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apache2/acmp.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,9 @@ apr_status_t acmp_add_pattern(ACMP *parser, const char *pattern,
516516
child->depth = i;
517517
child->text = apr_pcalloc(parser->pool, i + 2);
518518
/* ENH: Check alloc succeded */
519-
for (j = 0; j <= i; j++) child->text[j] = pattern[j];
519+
for (j = 0; j <= i; j++) {
520+
child->text[j] = pattern[j];
521+
}
520522
}
521523
if (i == length - 1) {
522524
if (child->is_last == 0) {

0 commit comments

Comments
 (0)