diff options
author | nicm <nicm> | 2019-06-13 21:44:13 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2019-06-14 16:04:57 +0100 |
commit | a924694820c631d7d9b1b13ad48ce4fc0a60df8b (patch) | |
tree | 95caf3279309f9facd0e67c96d92baeee9b47039 /cmd-save-buffer.c | |
parent | 0a94dbe051042cba644240ab0361319744ee4875 (diff) | |
download | rtmux-a924694820c631d7d9b1b13ad48ce4fc0a60df8b.tar.gz rtmux-a924694820c631d7d9b1b13ad48ce4fc0a60df8b.tar.bz2 rtmux-a924694820c631d7d9b1b13ad48ce4fc0a60df8b.zip |
Use the right client when working out where to save or load the buffer,
reported by kn@.
Diffstat (limited to 'cmd-save-buffer.c')
-rw-r--r-- | cmd-save-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-save-buffer.c b/cmd-save-buffer.c index 938bb3d6..3395612f 100644 --- a/cmd-save-buffer.c +++ b/cmd-save-buffer.c @@ -104,7 +104,7 @@ cmd_save_buffer_exec(struct cmd *self, struct cmdq_item *item) if (args_has(self->args, 'a')) flags = "ab"; - file = server_client_get_path(c, path); + file = server_client_get_path(item->client, path); free(path); f = fopen(file, flags); |