Skip to content

Commit

Permalink
Output unformatted JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
bstee615 committed Oct 3, 2022
1 parent 39b7d2e commit 329fd2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ void s_list(int s) {
p = p->next;
}

buffer = cJSON_Print(jobs);
buffer = cJSON_PrintUnformatted(jobs);
if (buffer == NULL)
{
error("Error converting jobs to JSON.");
Expand Down

0 comments on commit 329fd2b

Please sign in to comment.