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