aboutsummaryrefslogtreecommitdiffstats
path: root/src/satd.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/satd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/satd.c b/src/satd.c
index 738872c..68ef34e 100644
--- a/src/satd.c
+++ b/src/satd.c
@@ -59,7 +59,7 @@ create_socket(struct sockaddr_un *address)
char *dir;
int saved_errno;
- /* Get scoket address. */
+ /* Get socket address. */
dir = getenv("XDG_RUNTIME_DIR"), dir = (dir ? dir : "/run");
t (snprintf(NULL, 0, "%s/satd.socket%zn", dir, &len) == -1);
if ((len < 0) || ((size_t)len >= sizeof(address->sun_path)))
@@ -141,6 +141,9 @@ main(int argc, char *argv[])
close(sock), sock = 3;
}
+ /* Get hook-script pathname. */
+ /* TODO */
+
/* Listen for incoming conections. */
#if SOMAXCONN < SATD_BACKLOG
t (listen(sock, SOMAXCONN));