0
0
mirror of https://github.com/vim/vim.git synced 2025-10-10 06:24:10 -04:00

patch 7.4.1687

Problem:    The channel close_cb option does not work.
Solution:   Use jo_close_partial instead of jo_err_partial. (Damien)
This commit is contained in:
Bram Moolenaar
2016-03-30 21:06:57 +02:00
parent e9c0727003
commit bdf0bda968
3 changed files with 26 additions and 1 deletions

View File

@@ -1103,7 +1103,7 @@ channel_set_options(channel_T *channel, jobopt_T *opt)
*cbp = vim_strsave(opt->jo_close_cb);
else
*cbp = NULL;
*pp = opt->jo_err_partial;
*pp = opt->jo_close_partial;
if (*pp != NULL)
++(*pp)->pt_refcount;
}