aboutsummaryrefslogtreecommitdiff
path: root/src/ctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctl.c')
-rw-r--r--src/ctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ctl.c b/src/ctl.c
index 615ffef..db20d39 100644
--- a/src/ctl.c
+++ b/src/ctl.c
@@ -1899,8 +1899,8 @@ prog_serialize (struct json_value *ret, struct prog *prog)
prog->v.p.timestamp + SLEEPTIME);
v = json_new_array ();
- for (i = 0; i < prog->v.p.comp->argc; i++)
- json_array_append (v, json_new_string (prog->v.p.comp->argv[i]));
+ for (i = 0; i < prog->v.p.argc; i++)
+ json_array_append (v, json_new_string (prog->v.p.argv[i]));
json_object_set (ret, "argv", v);
break;

Return to:

Send suggestions and report system problems to the System administrator.