X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-04-writepartial.c;h=947f01e576af9e115123eabd777b2cd6280561f8;hb=9b3f4ef6eec6a5981dcaa62f45da49b8f4f95388;hp=d3f7043f7b2764ba7bc931defdbaf7709eaa83f7;hpb=318f717e34e4735e5397bee24dbbee69205be82b;p=ccan diff --git a/ccan/io/test/run-04-writepartial.c b/ccan/io/test/run-04-writepartial.c index d3f7043f..947f01e5 100644 --- a/ccan/io/test/run-04-writepartial.c +++ b/ccan/io/test/run-04-writepartial.c @@ -6,11 +6,7 @@ #include #include -#ifdef DEBUG_CONN -#define PORT "64004" -#else #define PORT "65004" -#endif struct data { int state; @@ -27,9 +23,6 @@ static void finish_ok(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);