X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=server.c;h=91fb9dff47dbefa6ca0207852a861bbb8d7f1a5e;hb=bb899fb1a0c279a2890ff30d11bf7aec50fb92ed;hp=ca00d0e9eb7c2635ae4aa534108e7e3f4a808cdc;hpb=e854df2fe2cfb3ae90a439828fc13cc0fc470aa9;p=paraslash.git diff --git a/server.c b/server.c index ca00d0e9..91fb9dff 100644 --- a/server.c +++ b/server.c @@ -326,7 +326,7 @@ static void command_pre_select(struct sched *s, void *context) struct server_command_task *sct = context; for (n = 0; n < sct->num_listen_fds; n++) - para_fd_set(sct->listen_fds[n], &s->rfds, &s->max_fileno); + sched_monitor_readfd(sct->listen_fds[n], s); } static int command_task_accept(unsigned listen_idx, struct sched *s,