]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - stdout.c
sched: Introduce sched_{read,write}_ok().
[paraslash.git] / stdout.c
index 1f7791094a33a961c193c273a4c09e9b16f2be07..71c45f69518b349d07143823003dedac9a0f5e2f 100644 (file)
--- a/stdout.c
+++ b/stdout.c
@@ -40,7 +40,7 @@ static int stdout_post_select(struct sched *s, void *context)
                goto out;
        if (ret == 0)
                return 0;
-       if (!FD_ISSET(STDOUT_FILENO, &s->wfds))
+       if (!sched_write_ok(STDOUT_FILENO, s))
                return 0;
 
        if (sot->must_set_nonblock_flag) {