]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-17-homemade-io.c
io: remove io_debug support.
[ccan] / ccan / io / test / run-17-homemade-io.c
index d104f3e9a01c18f730da677d847f88172f6628cf..150bcbdc4b4ad88c0a8723092d033325478ab868 100644 (file)
@@ -6,11 +6,7 @@
 #include <sys/wait.h>
 #include <stdio.h>
 
-#ifdef DEBUG_CONN
-#define PORT "64017"
-#else
 #define PORT "65017"
-#endif
 
 struct packet {
        int state;
@@ -85,9 +81,6 @@ static struct io_plan *io_read_packet(struct io_conn *conn,
 
 static struct io_plan *init_conn(struct io_conn *conn, struct packet *pkt)
 {
-#ifdef DEBUG_CONN
-       io_set_debug(conn, true);
-#endif
        ok1(pkt->state == 0);
        pkt->state++;