swrite: return error if fd is negative
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 5 Jun 2016 11:53:17 +0000 (13:53 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 5 Jun 2016 11:53:17 +0000 (13:53 +0200)
commitd54f3b1640ee23b5213ac870ca3de558f54e8247
treeb60220843747db9bbcc3d3ec83183094f8c1e0ca
parentde41631e3196258b3bcfa3267e82267c8c261e72
swrite: return error if fd is negative
src/daemon/common.c