X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-19-always-DEBUG.c;fp=ccan%2Fio%2Ftest%2Frun-19-always-DEBUG.c;h=4decacd855a456deb5c118d7b8c25495bdeacebb;hp=0000000000000000000000000000000000000000;hb=12ab811533406e22b78ce8b227474f1056375ae4;hpb=075120f34490f1b7c55a4ebdc70bbcff17e55a84 diff --git a/ccan/io/test/run-19-always-DEBUG.c b/ccan/io/test/run-19-always-DEBUG.c new file mode 100644 index 00000000..4decacd8 --- /dev/null +++ b/ccan/io/test/run-19-always-DEBUG.c @@ -0,0 +1,8 @@ +#define DEBUG +#define PORT "64019" +#define main real_main +int real_main(void); +#include "run-19-always.c" +#undef main +static bool always_debug(struct io_conn *conn) { return true; } +int main(void) { io_debug_conn = always_debug; return real_main(); }