diff options
Diffstat (limited to 'src/nvim/msgpack_rpc')
| -rw-r--r-- | src/nvim/msgpack_rpc/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c index fe480fff45..19aab7e317 100644 --- a/src/nvim/msgpack_rpc/channel.c +++ b/src/nvim/msgpack_rpc/channel.c @@ -518,7 +518,7 @@ void rpc_free(Channel *channel) api_free_dict(channel->rpc.info); } -/// Logs a fatal error received from a channel, then closes the channel. +/// Closes a channel after receiving fatal error, and logs a message. static void chan_close_on_err(Channel *channel, char *msg, int loglevel) { for (size_t i = 0; i < kv_size(channel->rpc.call_stack); i++) { |