diff options
author | shin <shin@FreeBSD.org> | 2000-01-26 14:13:41 +0000 |
---|---|---|
committer | shin <shin@FreeBSD.org> | 2000-01-26 14:13:41 +0000 |
commit | 5c7b071c6b03f13ba29a4a3bacec66311b25cfd2 (patch) | |
tree | e5b9070b6086c3c501949999d05ece8dca10cb08 /lib/libc/net/rcmd.c | |
parent | e81fbe2ad98e00d775b6aaddd88033e640810067 (diff) | |
download | FreeBSD-src-5c7b071c6b03f13ba29a4a3bacec66311b25cfd2.zip FreeBSD-src-5c7b071c6b03f13ba29a4a3bacec66311b25cfd2.tar.gz |
Removed 3rd arg from bindresvport_sa() call, because the 3rd arg have been
already removed.
Specified by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
Diffstat (limited to 'lib/libc/net/rcmd.c')
-rw-r--r-- | lib/libc/net/rcmd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/net/rcmd.c b/lib/libc/net/rcmd.c index d46410a..96d5bab 100644 --- a/lib/libc/net/rcmd.c +++ b/lib/libc/net/rcmd.c @@ -333,8 +333,7 @@ rresvport_af(alport, family) } #endif *sport = 0; - if (bindresvport_sa(s, (struct sockaddr *)&ss, - ((struct sockaddr *)&ss)->sa_len) == -1) { + if (bindresvport_sa(s, (struct sockaddr *)&ss) == -1) { (void)_libc_close(s); return (-1); } |