diff options
author | Ruslan Ermilov <ru@nginx.com> | 2017-08-16 14:16:14 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2017-08-16 14:16:14 +0300 |
commit | 23d38a57942d2b0b000ea45dea10ba3004d5e23f (patch) | |
tree | 55a936efd5c4acb8fd6b044e8302493f138235a2 /src | |
parent | 2614758c0499ea36872127e2e1d985d58733fb8f (diff) | |
download | unit-23d38a57942d2b0b000ea45dea10ba3004d5e23f.tar.gz unit-23d38a57942d2b0b000ea45dea10ba3004d5e23f.tar.bz2 |
Corrected path to nxt_socket.h in comments.
Diffstat (limited to 'src')
-rw-r--r-- | src/nxt_listen_socket.c | 2 | ||||
-rw-r--r-- | src/nxt_runtime.c | 2 | ||||
-rw-r--r-- | src/nxt_sockaddr.c | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/nxt_listen_socket.c b/src/nxt_listen_socket.c index bbd6d34a..a875832c 100644 --- a/src/nxt_listen_socket.c +++ b/src/nxt_listen_socket.c @@ -290,7 +290,7 @@ nxt_listen_socket_pool_min_size(nxt_listen_socket_t *ls) * A remote socket is usually unbound and thus has unspecified Unix * domain sockaddr_un which can be shortcut to 3 bytes. To handle * a bound remote socket correctly ls->socklen should be at least - * sizeof(struct sockaddr_un), see comment in unix/nxt_socket.h. + * sizeof(struct sockaddr_un), see comment in nxt_socket.h. */ ls->socklen = 3; size = ls->socklen + sizeof("unix:") - 1; diff --git a/src/nxt_runtime.c b/src/nxt_runtime.c index 5f4ec6f4..30474ce8 100644 --- a/src/nxt_runtime.c +++ b/src/nxt_runtime.c @@ -954,7 +954,7 @@ nxt_runtime_sockaddr_unix_parse(nxt_task_t *task, nxt_mp_t *mp, nxt_str_t *addr) /* * Actual sockaddr_un length can be lesser or even larger than defined - * struct sockaddr_un length (see comment in unix/nxt_socket.h). So + * struct sockaddr_un length (see comment in nxt_socket.h). So * limit maximum Unix domain socket address length by defined sun_path[] * length because some OSes accept addresses twice larger than defined * struct sockaddr_un. Also reserve space for a trailing zero to avoid diff --git a/src/nxt_sockaddr.c b/src/nxt_sockaddr.c index f1e0eb77..74de0984 100644 --- a/src/nxt_sockaddr.c +++ b/src/nxt_sockaddr.c @@ -62,7 +62,7 @@ nxt_sockaddr_create(nxt_mp_t *mp, struct sockaddr *sockaddr, socklen_t length, /* * Unspecified Unix domain sockaddr_un form and length are very - * platform depended (see comment in unix/socket.h). Here they are + * platform depended (see comment in nxt_socket.h). Here they are * normalized to the sockaddr_un with single zero byte sun_path[]. */ @@ -590,7 +590,7 @@ nxt_sockaddr_unix_parse(nxt_mp_t *mp, nxt_str_t *addr) /* * Actual sockaddr_un length can be lesser or even larger than defined - * struct sockaddr_un length (see comment in unix/nxt_socket.h). So + * struct sockaddr_un length (see comment in nxt_socket.h). So * limit maximum Unix domain socket address length by defined sun_path[] * length because some OSes accept addresses twice larger than defined * struct sockaddr_un. Also reserve space for a trailing zero to avoid @@ -810,7 +810,7 @@ nxt_job_sockaddr_unix_parse(nxt_job_sockaddr_parse_t *jbs) /* * Actual sockaddr_un length can be lesser or even larger than defined - * struct sockaddr_un length (see comment in unix/nxt_socket.h). So + * struct sockaddr_un length (see comment in nxt_socket.h). So * limit maximum Unix domain socket address length by defined sun_path[] * length because some OSes accept addresses twice larger than defined * struct sockaddr_un. Also reserve space for a trailing zero to avoid |