diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-28 19:26:43 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-28 19:26:43 +0200 |
commit | 6fc8227ebfbdfbbb48b81b679db81f421dbce79b (patch) | |
tree | a86b93f53fd7e9035b5293e50740d7898de250e2 /src/channel.c | |
parent | fec246d2c595164ac3b7e9fe9677053d3739b834 (diff) | |
download | vim-git-6fc8227ebfbdfbbb48b81b679db81f421dbce79b.tar.gz |
patch 7.4.2287v7.4.2287
Problem: The callback passed to ch_sendraw() is not used.
Solution: Pass the read part, not the send part. (haya14busa, closes #1019)
Diffstat (limited to 'src/channel.c')
-rw-r--r-- | src/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channel.c b/src/channel.c index 748857423..81c43a5d4 100644 --- a/src/channel.c +++ b/src/channel.c @@ -3456,7 +3456,7 @@ send_common( EMSG2(_("E917: Cannot use a callback with %s()"), fun); return NULL; } - channel_set_req_callback(channel, part_send, + channel_set_req_callback(channel, *part_read, opt->jo_callback, opt->jo_partial, id); } |