X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=client_common.c;h=3501a5df210409029ef954e5ddb4ebdc0b90561c;hp=7c31fcddf7a4f6756fff834ea5d13776a2f95c47;hb=19d9318abf42debb15d833d4e56ab636893285c3;hpb=51dde9efab2d662cf5813d26d5c9aebce6e197e7 diff --git a/client_common.c b/client_common.c index 7c31fcdd..3501a5df 100644 --- a/client_common.c +++ b/client_common.c @@ -224,8 +224,8 @@ void client_pre_select(struct sched *s, struct task *t) para_fd_set(pcd->fd, &s->wfds, &s->max_fileno); pcd->check_w = 1; } else { - if (*pcd->in_eof) { - t->ret = -E_INPUT_EOF; + if (*pcd->in_error) { + t->ret = *pcd->in_error; s->timeout.tv_sec = 0; s->timeout.tv_usec = 1; }