Skip to content

Commit 64da616

Browse files
authored
Fix compilation of nginx module (Bug #312) (#320)
A bug was introduced by me at ac2ac10
1 parent 9f4cf0e commit 64da616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx/ngx_http_mapcache_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ ngx_http_mapcache(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
300300
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "no mapcache <service>s configured/enabled, no point in continuing.");
301301
return NGX_CONF_ERROR;
302302
}
303-
mapcache_cache_child_init(ctx,ctx->cfg,ctx->pool);
303+
mapcache_cache_child_init(ctx,ctx->config,ctx->pool);
304304
if(GC_HAS_ERROR(ctx)) {
305305
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,ctx->get_error_message(ctx));
306306
return NGX_CONF_ERROR;

0 commit comments

Comments
 (0)