aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2016-01-01 23:30:21 +0100
committerMattias Andrée <maandree@member.fsf.org>2016-01-01 23:30:21 +0100
commitf8717aac9da79d7c09fbb79606c8bf7446768ece (patch)
tree47aa16ac685c206f55a0a569f56bd76d91a1daa1
parentupdate version number before i forget (diff)
downloadsat-f8717aac9da79d7c09fbb79606c8bf7446768ece.tar.gz
sat-f8717aac9da79d7c09fbb79606c8bf7446768ece.tar.bz2
sat-f8717aac9da79d7c09fbb79606c8bf7446768ece.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
-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.