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:
@@ -1341,7 +1341,7 @@ write_buf_line(buf_T *buf, linenr_T lnum, channel_T *channel)
|
|||||||
|
|
||||||
p[len] = NL;
|
p[len] = NL;
|
||||||
p[len + 1] = NUL;
|
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);
|
vim_free(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3450,7 +3450,12 @@ channel_handle_events(void)
|
|||||||
* Return FAIL or OK.
|
* Return FAIL or OK.
|
||||||
*/
|
*/
|
||||||
int
|
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;
|
int res;
|
||||||
sock_T fd;
|
sock_T fd;
|
||||||
|
@@ -764,6 +764,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
76,
|
||||||
/**/
|
/**/
|
||||||
75,
|
75,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user