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:
parent
e81fbe2ad9
commit
5c7b071c6b
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user