X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=dccp_send.c;fp=dccp_send.c;h=47d6b4089d8f7f229c27d3af262068f2d37ee2c3;hp=5806bce3516c25ff600f31b073ba0760b40d4897;hb=e854df2fe2cfb3ae90a439828fc13cc0fc470aa9;hpb=181beb316afad036ac01a778544c5dec0a8d51c7 diff --git a/dccp_send.c b/dccp_send.c index 5806bce3..47d6b408 100644 --- a/dccp_send.c +++ b/dccp_send.c @@ -24,8 +24,8 @@ #include "net.h" #include "server.h" #include "list.h" -#include "send.h" #include "sched.h" +#include "send.h" #include "vss.h" #include "fd.h" @@ -36,14 +36,13 @@ struct dccp_fec_client { struct fec_client *fc; }; -static void dccp_pre_select(int *max_fileno, fd_set *rfds, - __a_unused fd_set *wfds) +static void dccp_pre_select(struct sched *s) { unsigned n; FOR_EACH_LISTEN_FD(n, dss) if (dss->listen_fds[n] >= 0) - para_fd_set(dss->listen_fds[n], rfds, max_fileno); + para_fd_set(dss->listen_fds[n], &s->rfds, &s->max_fileno); } /** @@ -119,7 +118,7 @@ static void dccp_send_fec(struct sender_client *sc, char *buf, size_t len) dccp_shutdown_client(sc); } -static void dccp_post_select(__a_unused fd_set *rfds, __a_unused fd_set *wfds) +static void dccp_post_select(__a_unused struct sched *s) { struct sender_client *sc; struct dccp_fec_client *dfc;