]> granicus.if.org Git - vim/commitdiff
patch 8.0.0076 v8.0.0076
authorBram Moolenaar <Bram@vim.org>
Fri, 11 Nov 2016 20:14:03 +0000 (21:14 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 11 Nov 2016 20:14:03 +0000 (21:14 +0100)
Problem:    Channel log has double parens ()().
Solution:   Remove () for write_buf_line. (Yasuhiro Matsumoto)

src/channel.c
src/version.c

index 16156ce4191baddcd27a0e29b3debe955145aca7..aa82d717d4b0d1820a89cec5964c86a888f252f2 100644 (file)
@@ -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;
index ce19c0c1321ed8c7f175a52978bd1cba6edaea66..1707ec4ed4ae7c170dbaf5b5cf25f61e59d277ba 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    76,
 /**/
     75,
 /**/