io: fix io_connect().
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Jul 2014 03:39:55 +0000 (13:09 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Jul 2014 03:39:55 +0000 (13:09 +0930)
commit5c345a1e1044f78709621857224f503f985dc5b0
treee88c99d08dbf65b069166006ab3bbbe6b7928b04
parent8b0bdb090e2882aa431e89f4bc7aa4736e9e2838
io: fix io_connect().

How embarrassing: we weren't actually doing a non-blocking connect because
I was using F_SETFD instead of F_SETFL...

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/io/io.c