]> git.ozlabs.org Git - ccan/commit
ccan: fix erroneous fd negation in poll.c.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 28 Feb 2019 05:26:10 +0000 (15:56 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 28 Feb 2019 05:26:10 +0000 (15:56 +1030)
commit0fa318d0eeccbb4d33310f048653fa212c12d86d
treef54dcfcf87052f132c2d6d089856187bc9a2e9ba
parenta5881c0deb210f56c2095366ae6cdabd5230d68d
ccan: fix erroneous fd negation in poll.c.

We could just make them -1, since we don't rely on the values.
But simple negation doesn't make 0 invalid.

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