aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/msgpack_rpc/channel.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-04-23 19:58:13 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-04-23 23:44:32 +0200
commit2ed91f222f1dddda10fbdc9cb80df2be7d4c2da3 (patch)
treea5448dfc1bd0440167cdfad4e3041ca1548bbf52 /src/nvim/msgpack_rpc/channel.c
parent62c3f436a96e2102ec5c1e3af974c8e57fe4e76c (diff)
downloadrneovim-2ed91f222f1dddda10fbdc9cb80df2be7d4c2da3.tar.gz
rneovim-2ed91f222f1dddda10fbdc9cb80df2be7d4c2da3.tar.bz2
rneovim-2ed91f222f1dddda10fbdc9cb80df2be7d4c2da3.zip
api/internal: Remove `set` field from Error type.
Diffstat (limited to 'src/nvim/msgpack_rpc/channel.c')
-rw-r--r--src/nvim/msgpack_rpc/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c
index bd7f84fed9..36a3210c70 100644
--- a/src/nvim/msgpack_rpc/channel.c
+++ b/src/nvim/msgpack_rpc/channel.c
@@ -397,7 +397,7 @@ static void handle_request(Channel *channel, msgpack_object *request)
Error error = ERROR_INIT;
msgpack_rpc_validate(&request_id, request, &error);
- if (error.set) {
+ if (ERROR_SET(&error)) {
// Validation failed, send response with error
if (channel_write(channel,
serialize_response(channel->id,