X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=client_common.c;h=78b232dbd043caf1dc0ee6ba58b3437000e0d86a;hb=3f1510c31beb5c053d2f6c510f04a1e7466fce65;hp=a4aa6d8c3ecc3ae386cbb14515f05f8257d96e0d;hpb=5edb8fd098c2f392702a7b07bda664f1acf4b350;p=paraslash.git diff --git a/client_common.c b/client_common.c index a4aa6d8c..78b232db 100644 --- a/client_common.c +++ b/client_common.c @@ -333,7 +333,9 @@ static void client_post_select(struct sched *s, struct task *t) size_t n; char buf[CLIENT_BUFSIZE]; - t->error = 0; + ret = task_get_notification(t); + if (ret < 0) + goto out; if (ct->scc.fd < 0) return; switch (ct->status) {