revert recent css changes
[paraslash.git] / stdout.c
index af59807047a4d1e0d1d792632b1b5e1e80b6fd25..e9277d999681fd1108fe26b8ec257bf7fe972d87 100644 (file)
--- a/stdout.c
+++ b/stdout.c
@@ -25,7 +25,7 @@ void stdout_post_select(struct sched *s, struct task *t)
 
        t->ret = 1;
        if (!sot->check_fd) {
-               if (*sot->eof)
+               if (*sot->input_eof)
                        t->ret = -E_STDOUT_EOF;
                return;
        }
@@ -52,6 +52,6 @@ void stdout_set_defaults(struct stdout_task *sot)
        sot->task.pre_select = stdout_pre_select;
        sot->task.post_select = stdout_post_select;
        sot->task.event_handler = stdout_default_event_handler;
-       sot->task.flags = 0;
+       sot->eof = 0;
        sprintf(sot->task.status, "stdout writer");
 }