Permalink
Browse files

patch 8.0.0076

Problem:    Channel log has double parens ()().
Solution:   Remove () for write_buf_line. (Yasuhiro Matsumoto)
  • Loading branch information...
1 parent 8a5883b commit 79cbdcb1eeead00bad6fc64ab4a53e5860d5a663 @brammool brammool committed Nov 11, 2016
Showing with 9 additions and 2 deletions.
  1. +7 −2 src/channel.c
  2. +2 −0 src/version.c
View
@@ -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;
View
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 76,
+/**/
75,
/**/
74,

0 comments on commit 79cbdcb

Please sign in to comment.