s/sonewconn3/sonewconn/ forgotten by the modifier.

This commit is contained in:
Brian Feldman 2001-12-26 18:31:22 +00:00
parent 22e5e135e1
commit 18f29213d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88500

View file

@ -246,7 +246,7 @@ lomac_local_connect(struct socket *so, struct sockaddr *nam, struct thread *td)
}
if (so->so_proto->pr_flags & PR_CONNREQUIRED) {
if ((so2->so_options & SO_ACCEPTCONN) == 0 ||
(so3 = sonewconn3(so2, 0, td)) == 0) {
(so3 = sonewconn(so2, 0)) == 0) {
error = ECONNREFUSED;
goto bad;
}