Skip to content

Commit aeb5307

Browse files
committed
Fixes after review
1 parent 6ec6bbb commit aeb5307

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/ngx_http_modsecurity_module.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ static void *ngx_http_modsecurity_create_conf(ngx_conf_t *cf);
3333
static char *ngx_http_modsecurity_merge_conf(ngx_conf_t *cf, void *parent, void *child);
3434
static void ngx_http_modsecurity_cleanup_instance(void *data);
3535
static void ngx_http_modsecurity_cleanup_rules(void *data);
36-
static ngx_table_elt_t * search_headers(ngx_list_part_t *part, u_char *name, size_t len);
3736

3837
static ngx_int_t ngx_http_modsecurity_phase_time(ngx_http_request_t *r,
3938
ngx_http_variable_value_t *v, uintptr_t data);
@@ -810,6 +809,7 @@ ngx_http_modsecurity_merge_conf(ngx_conf_t *cf, void *parent, void *child)
810809
return NGX_CONF_OK;
811810
}
812811

812+
813813
static void
814814
ngx_http_modsecurity_cleanup_instance(void *data)
815815
{
@@ -825,6 +825,7 @@ ngx_http_modsecurity_cleanup_instance(void *data)
825825
ngx_http_modsecurity_pcre_malloc_done(old_pool);
826826
}
827827

828+
828829
static void
829830
ngx_http_modsecurity_cleanup_rules(void *data)
830831
{

src/ngx_http_modsecurity_rewrite.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,5 +220,6 @@ ngx_http_modsecurity_rewrite_handler(ngx_http_request_t *r)
220220
}
221221
}
222222

223+
223224
return NGX_DECLINED;
224225
}

0 commit comments

Comments
 (0)