Merge ../paraslash.fml/paraslash
[paraslash.git] / client.c
index d2f4643372200465b0a576184b9fefe00761f01c..88ea5af2ca737f2cead9c96fc8c0ec28b523c1da 100644 (file)
--- a/client.c
+++ b/client.c
@@ -59,7 +59,7 @@ static void client_event_handler(struct task *t)
                p->eof = 1;
                return;
        }
-       if (p->status == CL_SENDING_STDIN) {
+       if (p->status == CL_SENDING) {
                stdin_set_defaults(&sit);
                sit.buf = para_malloc(sit.bufsize),
                register_task(&sit.task);