]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-15-timeout.c
io: remove io_debug support.
[ccan] / ccan / io / test / run-15-timeout.c
index a4ab23add0abed3b0a3bcc5d536983db458ce8b5..64741c4f0c869907d3e212a67018732c8f0c3e40 100644 (file)
@@ -8,11 +8,7 @@
 #include <stdio.h>
 #include <unistd.h>
 
-#ifdef DEBUG_CONN
-#define PORT "64015"
-#else
 #define PORT "65015"
-#endif
 
 struct data {
        struct timers timers;
@@ -38,9 +34,6 @@ static struct io_plan *no_timeout(struct io_conn *conn, struct data *d)
 
 static struct io_plan *init_conn(struct io_conn *conn, struct data *d)
 {
-#ifdef DEBUG_CONN
-       io_set_debug(conn, true);
-#endif
        ok1(d->state == 0);
        d->state++;