]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-19-always.c
io: remove io_debug support.
[ccan] / ccan / io / test / run-19-always.c
index 7a015f28b21690ee55121a2dd3f76bbf25fca8f7..af190a4d025efeaa085ff9fd0c4711352a14f0f8 100644 (file)
@@ -6,11 +6,7 @@
 #include <sys/wait.h>
 #include <stdio.h>
 
-#ifdef DEBUG_CONN
-#define PORT "64019"
-#else
 #define PORT "65019"
-#endif
 
 struct data {
        int state;
@@ -32,9 +28,6 @@ static struct io_plan *write_buf(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++;
        io_set_finish(conn, finish_ok, d);