CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2014/11/10 21:51:49

Modified files:
        lib/libc/rpc   : clnt_simple.c clnt_tcp.c clnt_udp.c pmap_clnt.c 
                         pmap_getmaps.c pmap_getport.c pmap_rmt.c 

Log message:
Merge from NetBSD from 1999-03-25:"
* 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 <[email protected]>"

tested by many in snaps
ok schwarze@

Reply via email to