X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=dccp_send.c;h=b3bd6263ab39acdddee033053c92f2432e801123;hb=a0013831ff918ac229066c9c804f75e1b50011c5;hp=0484778eb593d342eaa0fd961a521e587a5ef468;hpb=a24d175e6d093d6d9f6e583c3026e45924bad621;p=paraslash.git diff --git a/dccp_send.c b/dccp_send.c index 0484778e..b3bd6263 100644 --- a/dccp_send.c +++ b/dccp_send.c @@ -24,6 +24,7 @@ #include "net.h" #include "list.h" #include "send.h" +#include "sched.h" #include "vss.h" #include "fd.h" #include "close_on_fork.h" @@ -101,13 +102,12 @@ static int dccp_init_fec(struct sender_client *sc) return mps; } -static int dccp_send_fec(struct sender_client *sc, char *buf, size_t len) +static void dccp_send_fec(struct sender_client *sc, char *buf, size_t len) { int ret = write_nonblock(sc->fd, buf, len); if (ret < 0) dccp_shutdown_client(sc); - return ret; } static void dccp_post_select(fd_set *rfds, __a_unused fd_set *wfds)