]> git.ozlabs.org Git - ccan/blob - ccan/io/test/run-12-bidir-DEBUG.c
io: closing one side of a duplex connection closes both.
[ccan] / ccan / io / test / run-12-bidir-DEBUG.c
1 #define DEBUG
2 #define PORT "64012"
3 #define main real_main
4 int real_main(void);
5 #include "run-12-bidir.c"
6 #undef main
7 static bool always_debug(struct io_conn *conn) { return true; }
8 int main(void) { io_debug_conn = always_debug; return real_main(); }