Fix possible close of invalid fd if call to socket() returns -1.
commitabf84656593c567e42025eaf6b1961a2294f913b
authorTim Potter <tpot@samba.org>
Sun, 17 Feb 2008 23:43:46 +0000 (18 10:43 +1100)
committerJeremy Allison <jra@samba.org>
Thu, 21 Feb 2008 01:58:50 +0000 (20 17:58 -0800)
tree9aef0833c95c42f81216b73604f946e9bbfd935d
parentec1576e3462725d7b0108ff02740466ad5ef6277
Fix possible close of invalid fd if call to socket() returns -1.
(This used to be commit f7d2f692994918037e603ef95dd097b03d2c5456)
source3/lib/util_sock.c