diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-08-23 13:52:09 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2022-08-24 14:22:26 +0200 |
commit | 7784dc9e0d90284b0d9c9cf0833c27d4de22b7f4 (patch) | |
tree | 297ed9f2974d08b1c83c829c4fe265fba101b629 /src/nvim/msgpack_rpc/channel.c | |
parent | bcf5ee328e228d5a536b4de2069a79234f9f3e9e (diff) | |
download | rneovim-7784dc9e0d90284b0d9c9cf0833c27d4de22b7f4.tar.gz rneovim-7784dc9e0d90284b0d9c9cf0833c27d4de22b7f4.tar.bz2 rneovim-7784dc9e0d90284b0d9c9cf0833c27d4de22b7f4.zip |
refactor(api): provide a temporary copy solution for nvim_call_atomic
Make the copy_object() family accept an optional arena. More than
half of the callsites should be refactored to use an arena later
anyway.
Diffstat (limited to 'src/nvim/msgpack_rpc/channel.c')
-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 f00c62f766..d22bcb29d5 100644 --- a/src/nvim/msgpack_rpc/channel.c +++ b/src/nvim/msgpack_rpc/channel.c @@ -644,7 +644,7 @@ void rpc_set_client_info(uint64_t id, Dictionary info) Dictionary rpc_client_info(Channel *chan) { - return copy_dictionary(chan->rpc.info); + return copy_dictionary(chan->rpc.info, NULL); } const char *rpc_client_name(Channel *chan) |