diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-11-14 16:52:04 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-11-14 16:52:04 +0000 |
commit | 297c0487518d4b974a548dfd3d5d2f10c250177c (patch) | |
tree | 16667b611d5e4f4e88abd7d920fe20e0a7066b65 /src/core/nginx.c | |
parent | 7f9d894e1069306f7361201a77efbe7b866024ff (diff) | |
download | nginx-297c0487518d4b974a548dfd3d5d2f10c250177c.tar.gz nginx-297c0487518d4b974a548dfd3d5d2f10c250177c.zip |
nginx-0.0.1-2003-11-14-19:52:04 import
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r-- | src/core/nginx.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c index 2038e7def..e0e67c081 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -5,6 +5,10 @@ #include <nginx.h> +/* STUB */ +void stub_init(ngx_log_t *log); + + static ngx_cycle_t *ngx_init_cycle(ngx_cycle_t *old_cycle, ngx_log_t *log); static int ngx_open_listening_sockets(ngx_cycle_t *cycle, ngx_log_t *log); static void ngx_clean_old_cycles(ngx_event_t *ev); @@ -93,6 +97,8 @@ int main(int argc, char *const *argv) return 1; } + stub_init(log); + ngx_max_module = 0; for (i = 0; ngx_modules[i]; i++) { ngx_modules[i]->index = ngx_max_module++; |