Skip to content

Commit 2a9cb7e

Browse files
committed
use a better name
1 parent f03c09d commit 2a9cb7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ngx_http_modsecurity_module.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -523,13 +523,13 @@ static ngx_http_module_t ngx_http_modsecurity_ctx = {
523523
};
524524

525525

526-
static int lazy_loading_rules(ngx_http_modsecurity_conf_t *mcf, ngx_log_t *log) {
526+
static int load_msc_rules(ngx_http_modsecurity_conf_t *mcf, ngx_log_t *log) {
527527
int rules;
528528
const char *error;
529529
#define show_loaded_rules(message) \
530530
if (rules >= 0) { \
531531
ngx_log_error(NGX_LOG_NOTICE, log, 0, \
532-
"lazy-load %d rules from %s", rules, message); \
532+
"loaded %d rules from %s", rules, message); \
533533
} else { \
534534
goto clean; \
535535
}
@@ -559,7 +559,7 @@ static ngx_int_t ngx_http_modsecurity_init_process(ngx_cycle_t *cycle) {
559559
ngx_pool_cleanup_t *cleanup;
560560
for (cleanup = cycle->pool->cleanup; cleanup; cleanup = cleanup->next) {
561561
if (cleanup->handler == ngx_http_modsecurity_cleanup_rules) {
562-
if (lazy_loading_rules(cleanup->data, cycle->log) != NGX_OK) {
562+
if (load_msc_rules(cleanup->data, cycle->log) != NGX_OK) {
563563
return NGX_ERROR;
564564
}
565565
}

0 commit comments

Comments
 (0)