]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - sync_filter.c
Hide implementation of para_fd_set().
[paraslash.git] / sync_filter.c
index 3877c13d1d932bc566303299565d87d3e6c948e6..ec5bb2736a041748c6fb5d7371e731b86147e784 100644 (file)
@@ -261,7 +261,7 @@ static void sync_pre_select(struct sched *s, void *context)
        ret = btr_node_status(fn->btrn, 0, BTR_NT_INTERNAL);
        if (ret < 0)
                return sched_min_delay(s);
-       para_fd_set(ctx->listen_fd, &s->rfds, &s->max_fileno);
+       sched_monitor_readfd(ctx->listen_fd, s);
        if (ret == 0)
                return;
        if (ctx->timeout.tv_sec == 0) { /* must ping buddies */