Skip to content

Commit 79cbdcb

Browse files
committed
patch 8.0.0076
Problem: Channel log has double parens ()(). Solution: Remove () for write_buf_line. (Yasuhiro Matsumoto)
1 parent 8a5883b commit 79cbdcb

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/channel.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ write_buf_line(buf_T *buf, linenr_T lnum, channel_T *channel)
13411341

13421342
p[len] = NL;
13431343
p[len + 1] = NUL;
1344-
channel_send(channel, PART_IN, p, len + 1, "write_buf_line()");
1344+
channel_send(channel, PART_IN, p, len + 1, "write_buf_line");
13451345
vim_free(p);
13461346
}
13471347

@@ -3450,7 +3450,12 @@ channel_handle_events(void)
34503450
* Return FAIL or OK.
34513451
*/
34523452
int
3453-
channel_send(channel_T *channel, ch_part_T part, char_u *buf, int len, char *fun)
3453+
channel_send(
3454+
channel_T *channel,
3455+
ch_part_T part,
3456+
char_u *buf,
3457+
int len,
3458+
char *fun)
34543459
{
34553460
int res;
34563461
sock_T fd;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
76,
767769
/**/
768770
75,
769771
/**/

0 commit comments

Comments
 (0)