diff options
author | nicm <nicm> | 2019-12-19 09:22:33 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-12-19 09:22:33 +0000 |
commit | 1764f66b7d1ed0e494cfa8967c78ace8728ee86c (patch) | |
tree | 84e6483ab9ec00b4f22e61d764b866562ac6e0d8 /cmd-source-file.c | |
parent | ef54a08080ef7d721d05361bf10e27217c87590e (diff) |
When adding a list with multiple commands to the queue, the next item to
insert after needs to be the last one added, not the first. Reported by
Jason Kim in GitHub issue 2023.
Diffstat (limited to 'cmd-source-file.c')
-rw-r--r-- | cmd-source-file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-source-file.c b/cmd-source-file.c index 6af1a6d0..c34cdf41 100644 --- a/cmd-source-file.c +++ b/cmd-source-file.c @@ -114,6 +114,7 @@ cmd_source_file_done(struct client *c, const char *path, int error, static void cmd_source_file_add(struct cmd_source_file_data *cdata, const char *path) { + log_debug("%s: %s", __func__, path); cdata->files = xreallocarray(cdata->files, cdata->nfiles + 1, sizeof *cdata->files); cdata->files[cdata->nfiles++] = xstrdup(path); |