Skip to content

Commit bc21f48

Browse files
committed
Fix replay merge_loc_conf build breakage
1 parent af25548 commit bc21f48

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ngx_cache_purge_module.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4223,8 +4223,6 @@ ngx_http_cache_refresh_conf(ngx_conf_t *cf, ngx_http_cache_purge_conf_t *cpcf) {
42234223
return NGX_CONF_OK;
42244224
}
42254225

4226-
void
4227-
42284226
/* -- location configuration --------------------------------------------- */
42294227

42304228
static void
@@ -4292,6 +4290,9 @@ ngx_http_cache_purge_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
42924290
ngx_http_cache_purge_loc_conf_t *prev = parent;
42934291
ngx_http_cache_purge_loc_conf_t *conf = child;
42944292
ngx_http_core_loc_conf_t *clcf;
4293+
# if (NGX_HTTP_PROXY)
4294+
ngx_http_proxy_loc_conf_t *plcf;
4295+
# endif
42954296

42964297
clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module);
42974298

@@ -4343,7 +4344,6 @@ ngx_http_cache_purge_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
43434344
clcf->handler = ngx_http_cache_purge_access_handler;
43444345
return NGX_CONF_OK;
43454346
}
4346-
}
43474347
# endif
43484348

43494349
# if (NGX_HTTP_SCGI)

0 commit comments

Comments
 (0)