]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - audiod.c
audioc: kill unused --timeout option
[paraslash.git] / audiod.c
index 52f4ff4cb18919bea60e4106e350fa2d13de6874..90290639d853ce3fb7fd7572b8e136669b66642a 100644 (file)
--- a/audiod.c
+++ b/audiod.c
@@ -882,6 +882,7 @@ static int audiod_get_socket(void)
                exit(EXIT_FAILURE); /* do not unlink socket */
        }
        add_close_on_fork_list(fd);
+       mark_fd_nonblock(fd);
        return fd;
 }
 
@@ -894,6 +895,7 @@ static int open_stat_pipe(void)
                ret = fd[1];
                PARA_NOTICE_LOG("stat pipe opened, fd %d\n", ret);
                add_close_on_fork_list(ret);
+               mark_fd_nonblock(ret);
        } else
                clean_exit(EXIT_FAILURE, "failed to open status pipe");
        return ret;