aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-01-28 15:22:37 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-01-28 15:22:37 +0000
commitcada4ee47d37e1e954e15a07afc6f45d6fb04342 (patch)
tree962c69cab1720cca1c7bb0236c14243ae663f0bf /src/core
parentba90f581f447fde1786d8bc17d91f137b154febc (diff)
downloadnginx-cada4ee47d37e1e954e15a07afc6f45d6fb04342.tar.gz
nginx-cada4ee47d37e1e954e15a07afc6f45d6fb04342.zip
nginx-0.0.1-2004-01-28-18:22:37 import
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ngx_config.h2
-rw-r--r--src/core/ngx_connection.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h
index e6772bd84..3039d58f5 100644
--- a/src/core/ngx_config.h
+++ b/src/core/ngx_config.h
@@ -52,8 +52,6 @@ typedef int ngx_flag_t;
/* STUB: autoconf */
#define PTR_FMT "%08X"
-/* STUB: autoconf */
-#define ngx_setproctitle setproctitle
#include <ngx_auto_config.h>
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c
index 6298ff160..8833c2bce 100644
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -48,7 +48,10 @@ ngx_int_t ngx_set_inherited_sockets(ngx_cycle_t *cycle)
return NGX_ERROR;
}
+/* STUB: autoconf & set sin_len in ls[i].sockaddr in ngx_http.c */
+#if __FreeBSD__
addr_in->sin_len = 0;
+#endif
ls[i].family = addr_in->sin_family;
ls[i].addr_text.len = ngx_sock_ntop(ls[i].family, ls[i].sockaddr,