From ea2d0a0c63bd2874eec1d14a80f281aad4470da5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C4=81ris=20Narti=C5=A1s?= Date: Wed, 27 Sep 2023 14:45:18 +0300 Subject: [PATCH] Fix compilation of nginx module (Bug #312) (#320) A bug was introduced by me at ac2ac10e961b774f31a1559039ada23b4e40dc58 --- nginx/ngx_http_mapcache_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/ngx_http_mapcache_module.c b/nginx/ngx_http_mapcache_module.c index 6afa0012..87a220b7 100644 --- a/nginx/ngx_http_mapcache_module.c +++ b/nginx/ngx_http_mapcache_module.c @@ -300,7 +300,7 @@ ngx_http_mapcache(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "no mapcache s configured/enabled, no point in continuing."); return NGX_CONF_ERROR; } - mapcache_cache_child_init(ctx,ctx->cfg,ctx->pool); + mapcache_cache_child_init(ctx,ctx->config,ctx->pool); if(GC_HAS_ERROR(ctx)) { ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,ctx->get_error_message(ctx)); return NGX_CONF_ERROR;