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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c
index 26db6f8b7..77d1dc632 100644
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -59,6 +59,7 @@ ngx_array_t ngx_old_cycles;
static ngx_pool_t *ngx_temp_pool;
static ngx_event_t ngx_cleaner_event;
+
/* STUB NAME */
static ngx_connection_t dumb;
@@ -91,7 +92,8 @@ int main(int argc, char *const *argv)
/* TODO */ ngx_max_sockets = -1;
- ngx_init_time();
+ ngx_time_init();
+ ngx_regex_init();
log = ngx_log_init_errlog();