diff options
Diffstat (limited to 'lib/libc/rpc/pmap_getmaps.c')
-rw-r--r-- | lib/libc/rpc/pmap_getmaps.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/rpc/pmap_getmaps.c b/lib/libc/rpc/pmap_getmaps.c index 2be35a16f7d..fa570519af0 100644 --- a/lib/libc/rpc/pmap_getmaps.c +++ b/lib/libc/rpc/pmap_getmaps.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap_getmaps.c,v 1.11 2010/09/01 14:43:34 millert Exp $ */ +/* $OpenBSD: pmap_getmaps.c,v 1.12 2014/11/11 04:51:49 guenther Exp $ */ /* * Copyright (c) 2010, Oracle America, Inc. @@ -74,8 +74,6 @@ pmap_getmaps(struct sockaddr_in *address) } CLNT_DESTROY(client); } - if (sock != -1) - (void)close(sock); address->sin_port = 0; return (head); } |