From 458a4d04447e57c198210fb8f743a261e13b9855 Mon Sep 17 00:00:00 2001 From: ZyX Date: Fri, 24 Jun 2016 17:16:11 +0300 Subject: *: Fix linter errors Also adds one exception to linter rules: typedef struct { kvec_t(Object) stack; } EncodedData; is completely valid (from the style guide point of view) code. --- src/nvim/msgpack_rpc/channel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nvim/msgpack_rpc/channel.c') diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c index b14278a554..5b249ee1c7 100644 --- a/src/nvim/msgpack_rpc/channel.c +++ b/src/nvim/msgpack_rpc/channel.c @@ -857,8 +857,8 @@ static void log_server_msg(uint64_t channel_id, log_msg_close(f, (msgpack_object) { .type = MSGPACK_OBJECT_STR, .via.str = { - .ptr = (char *) msgpack_error_messages[result + MUR_OFF], - .size = (uint32_t) strlen( + .ptr = (char *)msgpack_error_messages[result + MUR_OFF], + .size = (uint32_t)strlen( msgpack_error_messages[result + MUR_OFF]), }, }); -- cgit