summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2014-06-29 21:23:33 +0000
committerChristian Pointner <equinox@anytun.org>2014-06-29 21:23:33 +0000
commitd86387b2daeed5630facd2f99a1a50eddbd48d6a (patch)
treef0a54d4b2e62f4cf841edc3c7736f3d7d817a746
parentadded error handling to unix domain sockets (diff)
dropped plans to set permissions inside generic unixdomain sockets
-rw-r--r--src/unixdomain.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/unixdomain.c b/src/unixdomain.c
index 6fce43c..aac85bd 100644
--- a/src/unixdomain.c
+++ b/src/unixdomain.c
@@ -61,7 +61,6 @@
#include <sys/socket.h>
#include <sys/un.h>
-
int unixdomain_init(unixdomain_t* sock, const char* path)
{
if(!sock)
@@ -93,7 +92,6 @@ int unixdomain_init(unixdomain_t* sock, const char* path)
unixdomain_close(sock);
return -1;
}
- // TODO: permissions
if(listen(sock->server_fd_, 1)) {
log_printf(ERROR, "unix domain socket '%s' listen(): %s", sock->server_addr_.sun_path, strerror(errno));