about summary refs log tree commit diff
path: root/inet/rcmd.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-27 21:54:00 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-27 21:54:00 +0000
commitd1ce5f2a8cc01c63940a4ebd1dc2e97c70e139ac (patch)
tree360e38671c88394b4380b4428483893d8dc5629e /inet/rcmd.c
parent6f0ea379033c4541b3e93e87579b9a184ded58ac (diff)
downloadglibc-d1ce5f2a8cc01c63940a4ebd1dc2e97c70e139ac.tar.gz
glibc-d1ce5f2a8cc01c63940a4ebd1dc2e97c70e139ac.tar.xz
glibc-d1ce5f2a8cc01c63940a4ebd1dc2e97c70e139ac.zip
Update.
	* inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
	(rresvport_af): Likewise.
Diffstat (limited to 'inet/rcmd.c')
-rw-r--r--inet/rcmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/inet/rcmd.c b/inet/rcmd.c
index c24dfe8116..04c4ac7a38 100644
--- a/inet/rcmd.c
+++ b/inet/rcmd.c
@@ -235,7 +235,7 @@ rcmd_af(ahost, rport, locuser, remuser, cmd, fd2p, af)
 			goto bad;
 		}
 		s3 = accept(s2, (struct sockaddr *)&from, &len);
-		switch (from.__ss_family) {
+		switch (from.ss_family) {
 		case AF_INET:
 			rport = ntohs(((struct sockaddr_in *)&from)->sin_port);
 			break;
@@ -335,7 +335,7 @@ rresvport_af(alport, family)
 #ifdef SALEN
 	ss.__ss_len = len;
 #endif
-	ss.__ss_family = family;
+	ss.ss_family = family;
 
 	for (;;) {
 		*sport = htons((uint16_t) *alport);