projects
/
ccan
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
io: change io_idle() to io_wait()
[ccan]
/
ccan
/
io
/
test
/
run-18-errno.c
diff --git
a/ccan/io/test/run-18-errno.c
b/ccan/io/test/run-18-errno.c
index 985a32297187a303cb5f92a0b9fe99635ffbde78..222c0fb58e3ee7ab05d9ae76bab97f8dfbabfae2 100644
(file)
--- a/
ccan/io/test/run-18-errno.c
+++ b/
ccan/io/test/run-18-errno.c
@@
-36,7
+36,7
@@
static void init_conn(int fd, int *state)
(*state)++;
close(fd);
errno = 0;
- io_set_finish(io_new_conn(fd, io_read(state,
0
,
+ io_set_finish(io_new_conn(fd, io_read(state,
1
,
io_close_cb, NULL)),
finish_EBADF, state);
}