summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-11-11 21:14:03 +0100
committerBram Moolenaar <Bram@vim.org>2016-11-11 21:14:03 +0100
commit79cbdcb1eeead00bad6fc64ab4a53e5860d5a663 (patch)
tree5a73c448cc56c6ebb1be09fb6c8e22056681856a
parent8a5883b7488e492419dde7e1637cc72f2d566ba4 (diff)
patch 8.0.0076v8.0.0076
Problem: Channel log has double parens ()(). Solution: Remove () for write_buf_line. (Yasuhiro Matsumoto)
-rw-r--r--src/channel.c9
-rw-r--r--src/version.c2
2 files changed, 9 insertions, 2 deletions
diff --git a/src/channel.c b/src/channel.c
index 16156ce419..aa82d717d4 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -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;
diff --git a/src/version.c b/src/version.c
index ce19c0c132..1707ec4ed4 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 76,
+/**/
75,
/**/
74,