From ae42b66633602eca51aff154ecfab3cc9ad8ae02 Mon Sep 17 00:00:00 2001 From: Yoshinobu Inoue Date: Wed, 26 Jan 2000 14:13:41 +0000 Subject: [PATCH] Removed 3rd arg from bindresvport_sa() call, because the 3rd arg have been already removed. Specified by: Philipp Mergenthaler --- lib/libc/net/rcmd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/libc/net/rcmd.c b/lib/libc/net/rcmd.c index d46410a25a0..96d5bab32e8 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); }