Mercurial > vim
changeset 10363:471b87c3b67d v8.0.0076
commit https://github.com/vim/vim/commit/79cbdcb1eeead00bad6fc64ab4a53e5860d5a663
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 11 21:14:03 2016 +0100
patch 8.0.0076
Problem: Channel log has double parens ()().
Solution: Remove () for write_buf_line. (Yasuhiro Matsumoto)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 11 Nov 2016 21:15:03 +0100 |
parents | d4804cb77036 |
children | 29f8985a35cb |
files | src/channel.c src/version.c |
diffstat | 2 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/channel.c +++ b/src/channel.c @@ -1341,7 +1341,7 @@ write_buf_line(buf_T *buf, linenr_T lnum 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;