]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-05-write-DEBUG.c
ccan/io: flatten debug callchain.
[ccan] / ccan / io / test / run-05-write-DEBUG.c
index ae5eb1077942fbc57be0d363be9f8ba9aca945ff..831e6719bb54d00c5a2bd8b73637af0b17d89866 100644 (file)
@@ -5,4 +5,4 @@ int real_main(void);
 #include "run-05-write.c"
 #undef main
 static bool always_debug(struct io_conn *conn) { return true; }
 #include "run-05-write.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(); }