0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.0.0076

Problem:    Channel log has double parens ()().
Solution:   Remove () for write_buf_line. (Yasuhiro Matsumoto)
This commit is contained in:
Bram Moolenaar
2016-11-11 21:14:03 +01:00
parent 8a5883b748
commit 79cbdcb1ee
2 changed files with 9 additions and 2 deletions

View File

@@ -1341,7 +1341,7 @@ write_buf_line(buf_T *buf, linenr_T lnum, channel_T *channel)
p[len] = NL;
p[len + 1] = NUL;
channel_send(channel, PART_IN, p, len + 1, "write_buf_line()");
channel_send(channel, PART_IN, p, len + 1, "write_buf_line");
vim_free(p);
}
@@ -3450,7 +3450,12 @@ channel_handle_events(void)
* Return FAIL or OK.
*/
int
channel_send(channel_T *channel, ch_part_T part, char_u *buf, int len, char *fun)
channel_send(
channel_T *channel,
ch_part_T part,
char_u *buf,
int len,
char *fun)
{
int res;
sock_T fd;