X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=dccp_send.c;h=6248ae80ef784d5739298b61b9494e76d2e769e5;hp=e90c63c4c9f3527b6d65f06d252940a0ba2cab05;hb=f7feafeef70ad8f4e8c6fff715a2287f3240e759;hpb=23f053fc0a392079213bf2f979b7c098baa9d30c diff --git a/dccp_send.c b/dccp_send.c index e90c63c4..6248ae80 100644 --- a/dccp_send.c +++ b/dccp_send.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2009 Andre Noll + * Copyright (C) 2006-2010 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -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;