aboutsummaryrefslogtreecommitdiff
path: root/src/core/nginx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r--src/core/nginx.c6
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++;