X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-06-idle-DEBUG.c;fp=ccan%2Fio%2Ftest%2Frun-06-idle-DEBUG.c;h=f2ed1d4753dfb52acc4d1c7adf5944a3db42b0dd;hb=34776d3e9ad7de78778306a2d09c2c95df06c902;hp=0000000000000000000000000000000000000000;hpb=cf86c1e30648c9b482b92444c39ea6ea0ff936a8;p=ccan diff --git a/ccan/io/test/run-06-idle-DEBUG.c b/ccan/io/test/run-06-idle-DEBUG.c new file mode 100644 index 00000000..f2ed1d47 --- /dev/null +++ b/ccan/io/test/run-06-idle-DEBUG.c @@ -0,0 +1,8 @@ +#define DEBUG +#define PORT "64006" +#define main real_main +int real_main(void); +#include "run-06-idle.c" +#undef main +static bool always_debug(struct io_conn *conn) { return true; } +int main(void) { io_debug = always_debug; return real_main(); }