aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/common.h1
-rw-r--r--src/satd.c2
-rw-r--r--src/satq.c2
3 files changed, 2 insertions, 3 deletions
diff --git a/src/common.h b/src/common.h
index 7ee9ae5..92dbaf4 100644
--- a/src/common.h
+++ b/src/common.h
@@ -31,7 +31,6 @@
#include <unistd.h>
#include <fcntl.h>
#include <assert.h>
-#include <sys/socket.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/timerfd.h>
diff --git a/src/satd.c b/src/satd.c
index e0f342c..4e2b981 100644
--- a/src/satd.c
+++ b/src/satd.c
@@ -100,7 +100,7 @@ main(int argc, char *argv[])
/* Get hook-script pathname. */
t (set_hookpath());
- /* Open/create lock file and state file, and create socket. */
+ /* Open/create lock file and state file. */
GET_FD(lock, LOCK_FILENO, create_lock());
GET_FD(state, STATE_FILENO, open_state(O_RDWR | O_CREAT, &path));
diff --git a/src/satq.c b/src/satq.c
index d11f0bf..6261a4f 100644
--- a/src/satq.c
+++ b/src/satq.c
@@ -143,7 +143,7 @@ print(const char *s, ...)
/**
- * Dump a job to the socket.
+ * Dump a job to stdout.
*
* @param job The job.
* @return 0 on success, -1 on error.