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