diff --git a/src/proto_udp.c b/src/proto_udp.c index c4434d78e..810c31416 100644 --- a/src/proto_udp.c +++ b/src/proto_udp.c @@ -26,7 +26,7 @@ void dgram_fd_handler(int fd) if (fd_recv_ready(fd)) dgram->data->recv(dgram); - else if (fd_send_ready(fd)) + if (fd_send_ready(fd)) dgram->data->send(dgram); return;