aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/run_queue.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/run_queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/run_queue.c b/src/run_queue.c
index 0455c92..3e83952 100644
--- a/src/run_queue.c
+++ b/src/run_queue.c
@@ -65,8 +65,8 @@ int run_from_msg(struct run **run, const struct msg *msg)
return -1;
}
- const char **words = msg_get_words(msg);
- return run_create(run, words[1], words[2]);
+ const char **argv = msg_get_strings(msg);
+ return run_create(run, argv[1], argv[2]);
}
void run_destroy(struct run *entry)