0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 7.4.2287

Problem:    The callback passed to ch_sendraw() is not used.
Solution:   Pass the read part, not the send part. (haya14busa, closes #1019)
This commit is contained in:
Bram Moolenaar
2016-08-28 19:26:43 +02:00
parent fec246d2c5
commit 6fc8227ebf
3 changed files with 10 additions and 2 deletions

View File

@@ -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);
}