]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-17-homemade-io-DEBUG.c
ccan/io: flatten debug callchain.
[ccan] / ccan / io / test / run-17-homemade-io-DEBUG.c
index 40105d6ffc296f2c3b34bad1eddbcbf4b96d8b1e..5c44ce08463c6e7b078503ddf31617ee99db1ef6 100644 (file)
@@ -5,4 +5,4 @@ int real_main(void);
 #include "run-17-homemade-io.c"
 #undef main
 static bool always_debug(struct io_conn *conn) { return true; }
 #include "run-17-homemade-io.c"
 #undef main
 static bool always_debug(struct io_conn *conn) { return true; }
-int main(void) { io_debug = always_debug; return real_main(); }
+int main(void) { io_debug_conn = always_debug; return real_main(); }