X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fio%2Fbackend.h;h=df168d9f2b696202265de7bec1c96f35e1b65bca;hp=fa4cf8ee9f638ec5a32f9d671b7a9ffe0d649d10;hb=9e02685a6216720d37848a332187e3745b7f981e;hpb=d4af94ec86618e89b449a27590a7b4f8e4365943 diff --git a/ccan/io/backend.h b/ccan/io/backend.h index fa4cf8ee..df168d9f 100644 --- a/ccan/io/backend.h +++ b/ccan/io/backend.h @@ -55,7 +55,7 @@ static inline void set_current(struct io_conn *conn) } static inline bool doing_debug(void) { - return io_debug != NULL; + return io_debug_conn != NULL; } #else static inline void set_current(struct io_conn *conn)