Removed 3rd arg from bindresvport_sa() call, because the 3rd arg have been

already removed.

Specified by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
This commit is contained in:
shin 2000-01-26 14:13:41 +00:00
parent e81fbe2ad9
commit 5c7b071c6b

View File

@ -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);
}