Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 03/24/1999 17:16:11
Module Name:	src
Committed By:	lukem
Date:		Thu Mar 25 01:16:11 UTC 1999

Modified Files:
	src/lib/libc/rpc: clnt_simple.c clnt_tcp.c clnt_udp.c pmap_clnt.c
	    pmap_getmaps.c pmap_getport.c pmap_rmt.c svc_tcp.c svc_udp.c
	    xdr_stdio.c
Log Message:
* don't close the socket unless it was opened by the function
* note (in the comments) that the client is responsible for closing
the socket if they opened it, or they didn't use CLNT_DESTROY()

fixes a couple of unnecessary closing of already-closed sockets.
noted by: Matthias Drochner <M.Drochner@fz-juelich.de>