summaryrefslogtreecommitdiffstats
path: root/src/async.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-30 02:56:02 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-30 02:56:02 +0200
commit4f082c7df3998cdc2cdf9845a62d886d05257cb8 (patch)
treed1aba5a8ad41db7954ac41583be2eb09e76e5492 /src/async.c
parent36f9d70182c4c2f2e617192ae34abd6c44549a78 (diff)
downloadfastd-4f082c7df3998cdc2cdf9845a62d886d05257cb8.tar
fastd-4f082c7df3998cdc2cdf9845a62d886d05257cb8.zip
Remove now unneeded FD_CLOEXEC flag config
Diffstat (limited to 'src/async.c')
-rw-r--r--src/async.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/async.c b/src/async.c
index 2343cbb..28e0b03 100644
--- a/src/async.c
+++ b/src/async.c
@@ -41,8 +41,6 @@ void fastd_async_init(void) {
if (socketpair(AF_UNIX, SOCK_DGRAM, 0, fds))
exit_errno("socketpair");
- fastd_setfd(fds[0], FD_CLOEXEC);
- fastd_setfd(fds[1], FD_CLOEXEC);
fastd_setfl(fds[1], O_NONBLOCK);
ctx.async_rfd = fds[0];