projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
the paraslash-0.3.2 release tarball
[paraslash.git]
/
client_common.c
diff --git
a/client_common.c
b/client_common.c
index 3522060895928758a52833d97b27baf669005bee..d8eaba66cc9b7d704f1479b80fab8709bc53f674 100644
(file)
--- 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);