Skip to content

Commit

Permalink
Return finished jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
bstee615 committed Sep 30, 2022
1 parent 3dc3686 commit 3ddb261
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jobs.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,10 @@ void s_list(int s) {
/* Serialize Finished jobs */
p = first_finished_job;
while (p != 0) {
int success = add_job_to_json_array(p, jobs);
if (success == 0) {
goto end;
}
p = p->next;
num_jobs ++;
}
Expand Down

0 comments on commit 3ddb261

Please sign in to comment.