diff --git a/src/http/modules/ngx_http_limit_var_module.c b/src/http/modules/ngx_http_limit_var_module.c index a7b587d..53e42d6 100644 --- a/src/http/modules/ngx_http_limit_var_module.c +++ b/src/http/modules/ngx_http_limit_var_module.c @@ -148,7 +148,7 @@ ngx_http_limit_var_init_zone(ngx_shm_zone_t *shm_zone, void *data) ngx_log_error(NGX_LOG_EMERG, shm_zone->shm.log, 0, "limit_req \"%V\" uses the \"%V\" key " "while previously it used the \"%V\" key", - &shm_zone->name, &ctx->key.value, &octx->key.value); + &shm_zone->shm.name, &ctx->key.value, &octx->key.value); return NGX_ERROR; }