Thu May 9 09:17:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorroland <roland>
Thu, 9 May 1996 21:48:15 +0000 (21:48 +0000)
committerroland <roland>
Thu, 9 May 1996 21:48:15 +0000 (21:48 +0000)
commit5c3a7cd63fcc6155ec256bc75bda74f3c0437406
tree559863e87e88cb89d3a1f2cf70fa65031c75e221
parent6fa7bca22cc18f721ccd173941ba35abc0d8e0b3
Thu May  9 09:17:46 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

Cleanups in sunrpc code from NIIBE Yutaka <gniibe@mri.co.jp>.
* sunrpc/clnt_tcp.c (clnttcp_create): Don't close *SOCKP if it's -1.
* sunrpc/clnt_simp.c (callrpc): Don't close CRP->socket if it's
RPC_ANYSOCK.
* sunrpc/pmap_clnt.c (pmap_set): Don't close SOCKET, since
CLNT_DESTROY already has.
(pmap_unset): Likewise.
* sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
* sunrpc/pm_getport.c (pmap_getport): Likewise.
* sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
* sunrpc/portmap.c (callit): Likewise.
sunrpc/clnt_simp.c
sunrpc/clnt_tcp.c
sunrpc/pm_getmaps.c
sunrpc/pm_getport.c
sunrpc/pmap_clnt.c
sunrpc/pmap_rmt.c
sunrpc/portmap.c