Cleanups in sunrpc code from NIIBE Yutaka <gniibe@mri.co.jp>.
authorRoland McGrath <roland@gnu.org>
Thu, 9 May 1996 21:50:42 +0000 (21:50 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 9 May 1996 21:50:42 +0000 (21:50 +0000)
commitc28fb3c8935a8308d20d08bd45e1fa637a6f69bf
tree664e7f71b30e69b456fb46fadfa488e65058fa28
parent05d4c982198805983d6d7a39b08b1d75eac79387
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.
ChangeLog
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