aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_init.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-05-19 16:39:14 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-05-19 16:39:14 +0000
commita98301160de4c12f455cca8f78509f2e04626c0b (patch)
treecdf14046298d40ca8398925603fb4011360b187a /src/os/win32/ngx_init.c
parentbb4ec5c1721defd7b10f83ace51bddb71726dd1a (diff)
downloadnginx-a98301160de4c12f455cca8f78509f2e04626c0b.tar.gz
nginx-a98301160de4c12f455cca8f78509f2e04626c0b.zip
nginx-0.0.1-2003-05-19-20:39:14 import
Diffstat (limited to 'src/os/win32/ngx_init.c')
-rw-r--r--src/os/win32/ngx_init.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/os/win32/ngx_init.c b/src/os/win32/ngx_init.c
new file mode 100644
index 000000000..cc4f25e62
--- /dev/null
+++ b/src/os/win32/ngx_init.c
@@ -0,0 +1,11 @@
+
+#include <ngx_os_init.h>
+
+int ngx_os_init(ngx_log_t *log)
+{
+ if (ngx_init_sockets(&ngx_log) == NGX_ERROR) {
+ return NGX_ERROR;
+ }
+
+ return NGX_OK;
+}