Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2019-06-14 15:51:09 +01:00
10 changed files with 266 additions and 77 deletions

View File

@ -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);