diff --git a/libs/connslot/connslot.h b/libs/connslot/connslot.h index 964a178..f710106 100644 --- a/libs/connslot/connslot.h +++ b/libs/connslot/connslot.h @@ -29,7 +29,6 @@ enum __attribute__((__packed__)) conn_state { CONN_EMPTY = 0, CONN_READING = 1, CONN_READY = 2, - CONN_SENDING = 3, CONN_CLOSED = 4, CONN_ERROR = 5, }; diff --git a/src/mainloop.c b/src/mainloop.c index 9cb84f8..cf6aff0 100644 --- a/src/mainloop.c +++ b/src/mainloop.c @@ -335,7 +335,6 @@ static void handle_fd (const time_t now, const struct fd_info info, struct n3n_r switch(conn->state) { case CONN_EMPTY: case CONN_READING: - case CONN_SENDING: // These states dont require us to do anything // TODO: // - handle reading/sending simultaneous? @@ -406,7 +405,6 @@ static void handle_fd (const time_t now, const struct fd_info info, struct n3n_r switch(conn->state) { case CONN_EMPTY: case CONN_READING: - case CONN_SENDING: // These states dont require us to do anything // TODO: // - handle reading/sending simultaneous?