]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-09-connect-DEBUG.c
ccan/io: io_connect()
[ccan] / ccan / io / test / run-09-connect-DEBUG.c
diff --git a/ccan/io/test/run-09-connect-DEBUG.c b/ccan/io/test/run-09-connect-DEBUG.c
new file mode 100644 (file)
index 0000000..5520dd7
--- /dev/null
@@ -0,0 +1,8 @@
+#define DEBUG
+#define PORT "64009"
+#define main real_main
+int real_main(void);
+#include "run-09-connect.c"
+#undef main
+static bool always_debug(struct io_conn *conn) { return true; }
+int main(void) { io_debug_conn = always_debug; return real_main(); }