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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user