diff options
| author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-15 19:08:07 +0200 |
|---|---|---|
| committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-15 19:08:07 +0200 |
| commit | f035cd92a4d75858606dd6dd41105fb914adcf31 (patch) | |
| tree | 076045545e65fe51a2fd4e4e04a0cde6b43f177b /src/run_queue.c | |
| parent | minor refactoring (diff) | |
| download | cimple-f035cd92a4d75858606dd6dd41105fb914adcf31.tar.gz cimple-f035cd92a4d75858606dd6dd41105fb914adcf31.zip | |
msg: strings, not words
Diffstat (limited to 'src/run_queue.c')
| -rw-r--r-- | src/run_queue.c | 4 |
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) |
