]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-09-connect.c
io: remove io_debug support.
[ccan] / ccan / io / test / run-09-connect.c
index 124b6a1f70e715f08a3014a8cee72372611ce575..e5f0d1f85c6b6f495e22c656efdeaad7f478d338 100644 (file)
@@ -6,11 +6,7 @@
 #include <sys/wait.h>
 #include <stdio.h>
 
-#ifdef DEBUG_CONN
-#define PORT "64009"
-#else
 #define PORT "65009"
-#endif
 
 static struct io_listener *l;
 static struct data *d2;
@@ -35,9 +31,6 @@ static struct io_plan *connected(struct io_conn *conn, struct data *d2)
 
 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++;
        io_close_listener(l);