X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-17-homemade-io.c;fp=ccan%2Fio%2Ftest%2Frun-17-homemade-io.c;h=150bcbdc4b4ad88c0a8723092d033325478ab868;hp=d104f3e9a01c18f730da677d847f88172f6628cf;hb=96dcdfbf1a400f7cb43cf3f0761f52fd6de9ff65;hpb=ba89419ac9074d930eec7ba72c378831c56ed060 diff --git a/ccan/io/test/run-17-homemade-io.c b/ccan/io/test/run-17-homemade-io.c index d104f3e9..150bcbdc 100644 --- a/ccan/io/test/run-17-homemade-io.c +++ b/ccan/io/test/run-17-homemade-io.c @@ -6,11 +6,7 @@ #include #include -#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++;