]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-16-duplex-test.c
io: remove io_debug support.
[ccan] / ccan / io / test / run-16-duplex-test.c
index 8631be4519f58a0e0603da35e1d539b34af1dcd8..007f41119614e2016a2d3aef21f7ba9d9465febb 100644 (file)
@@ -8,11 +8,7 @@
 #include <sys/wait.h>
 #include <stdio.h>
 
-#ifdef DEBUG_CONN
-#define PORT "64016"
-#else
 #define PORT "65016"
-#endif
 
 struct data {
        struct io_listener *l;
@@ -34,9 +30,6 @@ static struct io_plan *io_done(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++;