From: Andre Noll Date: Tue, 1 Apr 2008 21:24:29 +0000 (+0200) Subject: Fix another bug in stdout.c. X-Git-Tag: v0.3.2~24 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=38230c2ba5938078c9c278940679923f2489978d;p=paraslash.git Fix another bug in stdout.c. This one caused the first chunk of data to be swallowed. --- diff --git a/stdout.c b/stdout.c index b1e1bcb6..87bf711f 100644 --- a/stdout.c +++ b/stdout.c @@ -62,7 +62,7 @@ static void stdout_post_select(struct sched *s, struct task *t) t->error = 0; if (!sot->check_fd) { - if (*sot->input_error < 0) + if (!*sot->loaded && *sot->input_error < 0) t->error = *sot->input_error; return; }