mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
fix: confusing indentation at acmp.cc
This commit is contained in:
parent
08b70e006b
commit
5d05ba359c
@ -236,10 +236,10 @@ static void acmp_build_binary_tree(ACMP *parser, acmp_node_t *node) {
|
|||||||
nodes[i] = nodes[j];
|
nodes[i] = nodes[j];
|
||||||
nodes[j] = tmp;
|
nodes[j] = tmp;
|
||||||
}
|
}
|
||||||
if (node->btree != NULL) {
|
if (node->btree != NULL) {
|
||||||
free(node->btree);
|
free(node->btree);
|
||||||
node->btree = NULL;
|
node->btree = NULL;
|
||||||
}
|
}
|
||||||
node->btree = reinterpret_cast<acmp_btree_node_t *>(calloc(1, sizeof(acmp_btree_node_t)));
|
node->btree = reinterpret_cast<acmp_btree_node_t *>(calloc(1, sizeof(acmp_btree_node_t)));
|
||||||
|
|
||||||
/* ENH: Check alloc succeded */
|
/* ENH: Check alloc succeded */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user