X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=client_common.c;h=d8eaba66cc9b7d704f1479b80fab8709bc53f674;hp=3522060895928758a52833d97b27baf669005bee;hb=a98d8715828261927da6705321a8b1a31d23c6d4;hpb=32d43fac23025e82b7a92bfce744207c69165a04 diff --git a/client_common.c b/client_common.c index 35220608..d8eaba66 100644 --- a/client_common.c +++ b/client_common.c @@ -116,6 +116,8 @@ static void client_pre_select(struct sched *s, struct task *t) } return; case CL_SENDING: + if (!ct->in_loaded) /* stdin task not yet started */ + return; if (*ct->in_loaded) { PARA_INFO_LOG("loaded: %zd\n", *ct->in_loaded); para_fd_set(ct->fd, &s->wfds, &s->max_fileno);