diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-07-04 15:10:33 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-07-04 15:10:33 +0000 |
commit | 340b03b201c77f394cc70fda4d960ad6c3b68905 (patch) | |
tree | c4a4fd6a958f2ae6c5ebed768e2c461197219df2 /src/http/ngx_http_core_module.c | |
parent | be3c2b69a4c18e3810b1ed1ba407f0be37230c27 (diff) | |
download | nginx-340b03b201c77f394cc70fda4d960ad6c3b68905.tar.gz nginx-340b03b201c77f394cc70fda4d960ad6c3b68905.zip |
nginx-0.0.1-2003-07-04-19:10:33 import
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r-- | src/http/ngx_http_core_module.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 8e9a96673..7823eca94 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -20,7 +20,7 @@ static void *ngx_http_core_create_loc_conf(ngx_pool_t *pool); static char *ngx_http_core_merge_loc_conf(ngx_pool_t *pool, void *parent, void *child); -static int ngx_http_core_init(ngx_cycle_t *cycle, ngx_log_t *log); +static int ngx_http_core_init(ngx_cycle_t *cycle); static char *ngx_server_block(ngx_conf_t *cf, ngx_command_t *cmd, void *dummy); static int ngx_cmp_locations(const void *first, const void *second); static char *ngx_location_block(ngx_conf_t *cf, ngx_command_t *cmd, @@ -187,8 +187,7 @@ ngx_module_t ngx_http_core_module = { ngx_http_core_commands, /* module directives */ NGX_HTTP_MODULE, /* module type */ ngx_http_core_init, /* init module */ - NULL, /* commit module */ - NULL /* rollback module */ + NULL /* init child */ }; @@ -529,7 +528,7 @@ int ngx_http_internal_redirect(ngx_http_request_t *r, } -static int ngx_http_core_init(ngx_cycle_t *cycle, ngx_log_t *log) +static int ngx_http_core_init(ngx_cycle_t *cycle) { ngx_http_handler_pt *h; ngx_http_conf_ctx_t *ctx; |