From 0abae2113b7acec76d54b84c7edd90ba13c34a0a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 29 Jan 2006 16:05:19 +0000 Subject: sync comment with glibc and dont include sys/socket.h since we dont use socket() --- libc/inet/rpc/pm_getmaps.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/inet') diff --git a/libc/inet/rpc/pm_getmaps.c b/libc/inet/rpc/pm_getmaps.c index 3f8617ca2..bd740a0ae 100644 --- a/libc/inet/rpc/pm_getmaps.c +++ b/libc/inet/rpc/pm_getmaps.c @@ -42,7 +42,6 @@ static char sccsid[] = "@(#)pmap_getmaps.c 1.10 87/08/11 Copyr 1984 Sun Micro"; #include #include #include -#include #include #include #include @@ -70,6 +69,8 @@ pmap_getmaps (struct sockaddr_in *address) minutetimeout.tv_sec = 60; minutetimeout.tv_usec = 0; address->sin_port = htons (PMAPPORT); + + /* Don't need a reserved port to get ports from the portmapper. */ client = clnttcp_create (address, PMAPPROG, PMAPVERS, &socket, 50, 500); if (client != (CLIENT *) NULL) -- cgit v1.2.3