Do not close the socket twice in netcat.
authorbluhm <bluhm@openbsd.org>
Thu, 6 Sep 2018 13:23:02 +0000 (13:23 +0000)
committerbluhm <bluhm@openbsd.org>
Thu, 6 Sep 2018 13:23:02 +0000 (13:23 +0000)
commit78420efa23336fa6db23ed1594af329f351ba0d1
tree3cba71d5546538dade2298d206feed32e5214574
parentc7617a357ac4aa3b319e70526e3f3c1c7a8fe30f
Do not close the socket twice in netcat.
from Nan Xiao; OK tb@
usr.bin/nc/netcat.c