aboutsummaryrefslogtreecommitdiffstats
path: root/src/satd-list.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-29 05:21:03 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-29 05:21:07 +0100
commit85db4a5a454c6f27bfb4ffa07b62734277aa3bbb (patch)
treed753adb34128d7f84204459ad69012ded54529de /src/satd-list.c
parentimplement send_string, remove_job (except for running the job), and get_jobs (diff)
downloadsat-85db4a5a454c6f27bfb4ffa07b62734277aa3bbb.tar.gz
sat-85db4a5a454c6f27bfb4ffa07b62734277aa3bbb.tar.bz2
sat-85db4a5a454c6f27bfb4ffa07b62734277aa3bbb.tar.xz
implement job running in remove_job
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/satd-list.c')
-rw-r--r--src/satd-list.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/satd-list.c b/src/satd-list.c
index e9904a5..ee11c3a 100644
--- a/src/satd-list.c
+++ b/src/satd-list.c
@@ -236,10 +236,9 @@ fail:
/**
* Subroutine to the sat daemon: list jobs.
*
- * @param argc Should be 4.
+ * @param argc Should be 3.
* @param argv The name of the process, the pathname of the socket,
- * the pathname to the state file, and $SAT_HOOK_PATH
- * (the pathname of the hook-script.)
+ * and the pathname to the state file.
* @return 0 The process was successful.
* @return 1 The process failed queuing the job.
*/
@@ -252,7 +251,7 @@ main(int argc, char *argv[])
struct job** job;
int rc = 0;
- assert(argc == 4);
+ assert(argc == 3);
t (reopen(STATE_FILENO, O_RDWR));
/* Receive and validate message. */