From 85db4a5a454c6f27bfb4ffa07b62734277aa3bbb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 29 Dec 2015 05:21:03 +0100 Subject: implement job running in remove_job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/satd-list.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/satd-list.c') 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. */ -- cgit v1.2.3-70-g09d2