diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-11-11 21:14:03 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-11-11 21:14:03 +0100 |
commit | 79cbdcb1eeead00bad6fc64ab4a53e5860d5a663 (patch) | |
tree | 5a73c448cc56c6ebb1be09fb6c8e22056681856a /src/channel.c | |
parent | 8a5883b7488e492419dde7e1637cc72f2d566ba4 (diff) |
patch 8.0.0076v8.0.0076
Problem: Channel log has double parens ()().
Solution: Remove () for write_buf_line. (Yasuhiro Matsumoto)
Diffstat (limited to 'src/channel.c')
-rw-r--r-- | src/channel.c | 9 |
1 files changed, 7 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; |