projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace eof by error in receivers/filters/writers.
[paraslash.git]
/
client_common.c
diff --git
a/client_common.c
b/client_common.c
index
7c31fcd
..
3501a5d
100644
(file)
--- 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_e
of
) {
- t->ret =
-E_INPUT_EOF
;
+ if (*pcd->in_e
rror
) {
+ t->ret =
*pcd->in_error
;
s->timeout.tv_sec = 0;
s->timeout.tv_usec = 1;
}