]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - server.c
Hide implementation of para_fd_set().
[paraslash.git] / server.c
index ca00d0e9eb7c2635ae4aa534108e7e3f4a808cdc..91fb9dff47dbefa6ca0207852a861bbb8d7f1a5e 100644 (file)
--- 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,