mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 19:06:31 +00:00
api/internal: Remove set
field from Error type.
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user