Skip to content

Commit cefe993

Browse files
committed
more minor coding style fixes.
1 parent e9b3dd3 commit cefe993

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/ngx_http_srcache_filter_module.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
unsigned ngx_http_srcache_used = 0;
1818

1919
static void *ngx_http_srcache_create_loc_conf(ngx_conf_t *cf);
20-
static char *ngx_http_srcache_merge_conf(ngx_conf_t *cf, void *parent,
20+
static char *ngx_http_srcache_merge_loc_conf(ngx_conf_t *cf, void *parent,
2121
void *child);
2222
static ngx_int_t ngx_http_srcache_filter_init(ngx_conf_t *cf);
2323
static char *ngx_http_srcache_conf_set_request(ngx_conf_t *cf,
@@ -83,7 +83,7 @@ static ngx_http_module_t ngx_http_srcache_filter_module_ctx = {
8383
NULL, /* merge server configuration */
8484

8585
ngx_http_srcache_create_loc_conf, /* create location configuration */
86-
ngx_http_srcache_merge_conf /* merge location configuration */
86+
ngx_http_srcache_merge_loc_conf /* merge location configuration */
8787
};
8888

8989

@@ -438,7 +438,7 @@ ngx_http_srcache_create_loc_conf(ngx_conf_t *cf)
438438

439439

440440
static char *
441-
ngx_http_srcache_merge_conf(ngx_conf_t *cf, void *parent, void *child)
441+
ngx_http_srcache_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
442442
{
443443
ngx_http_srcache_loc_conf_t *prev = parent;
444444
ngx_http_srcache_loc_conf_t *conf = child;
@@ -652,9 +652,9 @@ ngx_http_srcache_access_handler(ngx_http_request_t *r)
652652

653653
smcf = ngx_http_get_module_main_conf(r, ngx_http_srcache_filter_module);
654654

655-
if ( ! smcf->postponed_to_access_phase_end ) {
655+
if (! smcf->postponed_to_access_phase_end) {
656656
ngx_http_core_main_conf_t *cmcf;
657-
ngx_http_phase_handler_t tmp;
657+
ngx_http_phase_handler_t tmp;
658658
ngx_http_phase_handler_t *ph;
659659
ngx_http_phase_handler_t *cur_ph;
660660
ngx_http_phase_handler_t *last_ph;

0 commit comments

Comments
 (0)