Rework para_accept().
[paraslash.git] / dccp_send.c
index fb2eafc91530f59c2f48605ec7bbcad9a900abd7..6248ae80ef784d5739298b61b9494e76d2e769e5 100644 (file)
@@ -70,9 +70,7 @@ static void dccp_post_select(fd_set *rfds, __a_unused fd_set *wfds)
        struct sender_client *sc;
        int tx_ccid;
 
-       if (dss->listen_fd < 0 || !FD_ISSET(dss->listen_fd, rfds))
-               return;
-       sc = accept_sender_client(dss);
+       sc = accept_sender_client(dss, rfds);
        if (!sc)
                return;