]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - client_common.c
audiod: Replace kill_btrn() by task notifications.
[paraslash.git] / client_common.c
index a4aa6d8c3ecc3ae386cbb14515f05f8257d96e0d..78b232dbd043caf1dc0ee6ba58b3437000e0d86a 100644 (file)
@@ -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) {