Replace eof by error in receivers/filters/writers.
[paraslash.git] / client.c
index 1506f65..a37bc7e 100644 (file)
--- a/client.c
+++ b/client.c
@@ -41,13 +41,13 @@ static void client_event_handler(struct task *t)
                register_task(&sit.task);
                p->inbuf = sit.buf;
                p->in_loaded = &sit.loaded;
-               p->in_eof = &sit.eof;
+               p->in_error = &sit.error;
                return;
        }
        stdout_set_defaults(&sot);
        sot.buf = p->buf;
        sot.loaded = &p->loaded;
-       sot.input_eof = &p->eof;
+       sot.input_error = &p->eof;
        register_task(&sot.task);
 }