diff options
author | Christian Pointner <equinox@anytun.org> | 2014-06-29 21:23:33 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2014-06-29 21:23:33 +0000 |
commit | d86387b2daeed5630facd2f99a1a50eddbd48d6a (patch) | |
tree | f0a54d4b2e62f4cf841edc3c7736f3d7d817a746 | |
parent | added error handling to unix domain sockets (diff) |
dropped plans to set permissions inside generic unixdomain sockets
-rw-r--r-- | src/unixdomain.c | 2 |
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)); |