summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_socket.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2020-04-08 15:15:24 +0300
committerValentin Bartenev <vbart@nginx.com>2020-04-08 15:15:24 +0300
commit555d595f38801685f95f140f85b20f5dcfaa49cd (patch)
treebd0e17520d0ed6d3cb1a40195181949bd5464619 /src/nxt_socket.h
parent27c1e268563da002e57f34032499efd7543b8b9d (diff)
downloadunit-555d595f38801685f95f140f85b20f5dcfaa49cd.tar.gz
unit-555d595f38801685f95f140f85b20f5dcfaa49cd.tar.bz2
Removed unused code related to testing of address binding.
Diffstat (limited to 'src/nxt_socket.h')
-rw-r--r--src/nxt_socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_socket.h b/src/nxt_socket.h
index 6a450f83..e39d8e4d 100644
--- a/src/nxt_socket.h
+++ b/src/nxt_socket.h
@@ -101,7 +101,7 @@ NXT_EXPORT nxt_int_t nxt_socket_getsockopt(nxt_task_t *task, nxt_socket_t s,
NXT_EXPORT nxt_int_t nxt_socket_setsockopt(nxt_task_t *task, nxt_socket_t s,
nxt_uint_t level, nxt_uint_t sockopt, int val);
NXT_EXPORT nxt_int_t nxt_socket_bind(nxt_task_t *task, nxt_socket_t s,
- nxt_sockaddr_t *sa, nxt_bool_t test);
+ nxt_sockaddr_t *sa);
NXT_EXPORT nxt_int_t nxt_socket_connect(nxt_task_t *task, nxt_socket_t s,
nxt_sockaddr_t *sa);
NXT_EXPORT void nxt_socket_shutdown(nxt_task_t *task, nxt_socket_t s,