X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=vss.c;h=d2fbfb3424162afdab808d52bf40c33c83e61295;hb=e854df2fe2cfb3ae90a439828fc13cc0fc470aa9;hp=23b64abbc2429d9b8a9baaa45e0ee16d881800e2;hpb=181beb316afad036ac01a778544c5dec0a8d51c7;p=paraslash.git diff --git a/vss.c b/vss.c index 23b64abb..d2fbfb34 100644 --- a/vss.c +++ b/vss.c @@ -28,8 +28,8 @@ #include "net.h" #include "server.h" #include "list.h" -#include "send.h" #include "sched.h" +#include "send.h" #include "vss.h" #include "ipc.h" #include "fd.h" @@ -906,7 +906,7 @@ static void vss_pre_select(struct sched *s, void *context) FOR_EACH_SENDER(i) { if (!senders[i]->pre_select) continue; - senders[i]->pre_select(&s->max_fileno, &s->rfds, &s->wfds); + senders[i]->pre_select(s); } vss_compute_timeout(s, vsst); } @@ -1149,7 +1149,7 @@ static int vss_post_select(struct sched *s, void *context) FOR_EACH_SENDER(i) { if (!senders[i]->post_select) continue; - senders[i]->post_select(&s->rfds, &s->wfds); + senders[i]->post_select(s); } if ((vss_playing() && !(mmd->vss_status_flags & VSS_PLAYING)) || (vss_next() && vss_playing()))