Skip to content

Commit 3a00d2d

Browse files
committed
Remove useless wrapper
1 parent 5d8d9de commit 3a00d2d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

nginx/ngx_python_module.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
static ngx_int_t ngx_python_init_process(ngx_cycle_t *cycle);
44
static void ngx_python_exit_process(ngx_cycle_t *cycle);
55
static ngx_int_t ngx_python_postconfiguration(ngx_conf_t *cf);
6-
static ngx_int_t ngx_python_post_read(ngx_http_request_t *r);
76

87
static wchar_t *python_exec = NULL;
98

@@ -88,12 +87,7 @@ ngx_python_postconfiguration(ngx_conf_t *cf) {
8887
if (h == NULL) {
8988
return NGX_ERROR;
9089
}
91-
*h = ngx_python_post_read;
90+
*h = nginxpy_post_read;
9291

9392
return NGX_OK;
9493
}
95-
96-
static ngx_int_t
97-
ngx_python_post_read(ngx_http_request_t *r) {
98-
return nginxpy_post_read(r);
99-
}

0 commit comments

Comments
 (0)