curvetun: Don't attempt to close negative file descriptor
commit186b116bec11cb941ed91547c9f612b96c96341b
authorTobias Klauser <tklauser@distanz.ch>
Mon, 7 Sep 2015 16:17:16 +0000 (7 18:17 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Mon, 7 Sep 2015 16:18:53 +0000 (7 18:18 +0200)
treee1c836620c714bcdca219e2ba1eb022217305386
parent047d69c4eb2cefe9bab654fb570592d3863da792
curvetun: Don't attempt to close negative file descriptor

Complete fix for Coverity issue CID 991822, commit 047d69c4e ("curvetun:
Fix issues detected by the Coverity scanner") only fixed one instance of
this issue.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
curvetun.c