From 8a46ba5e33565af5fdba4286ba94bec27ccd0103 Mon Sep 17 00:00:00 2001 From: ncteisen <ncteisen@gmail.com> Date: Tue, 1 Aug 2017 10:59:10 -0700 Subject: [PATCH] clang fmt --- src/core/ext/transport/chttp2/transport/chttp2_transport.c | 3 ++- src/core/ext/transport/chttp2/transport/writing.c | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/core/ext/transport/chttp2/transport/chttp2_transport.c b/src/core/ext/transport/chttp2/transport/chttp2_transport.c index e62f7777ec..aabe7b4a8e 100644 --- a/src/core/ext/transport/chttp2/transport/chttp2_transport.c +++ b/src/core/ext/transport/chttp2/transport/chttp2_transport.c @@ -1470,7 +1470,8 @@ static void perform_stream_op_locked(grpc_exec_ctx *exec_ctx, void *stream_op, if (!s->read_closed) { already_received = s->frame_storage.length; grpc_chttp2_flowctl_incoming_bs_update( - &t->flow_control, &s->flow_control, GRPC_HEADER_SIZE_IN_BYTES, already_received); + &t->flow_control, &s->flow_control, GRPC_HEADER_SIZE_IN_BYTES, + already_received); grpc_chttp2_act_on_flowctl_action( exec_ctx, grpc_chttp2_flowctl_get_action(&t->flow_control, &s->flow_control), diff --git a/src/core/ext/transport/chttp2/transport/writing.c b/src/core/ext/transport/chttp2/transport/writing.c index a9f8efe312..80eb51ff0d 100644 --- a/src/core/ext/transport/chttp2/transport/writing.c +++ b/src/core/ext/transport/chttp2/transport/writing.c @@ -328,8 +328,8 @@ grpc_chttp2_begin_write_result grpc_chttp2_begin_write( grpc_chttp2_encode_data(s->id, s->compressed_data_buffer, send_bytes, is_last_frame, &s->stats.outgoing, &t->outbuf); - grpc_chttp2_flowctl_sent_data(&t->flow_control, &s->flow_control, - send_bytes); + grpc_chttp2_flowctl_sent_data(&t->flow_control, + &s->flow_control, send_bytes); max_outgoing -= send_bytes; if (s->compressed_data_buffer->length == 0) { s->sending_bytes += s->uncompressed_data_size; @@ -359,7 +359,7 @@ grpc_chttp2_begin_write_result grpc_chttp2_begin_write( send_bytes, is_last_frame, &s->stats.outgoing, &t->outbuf); grpc_chttp2_flowctl_sent_data(&t->flow_control, &s->flow_control, - send_bytes); + send_bytes); s->sending_bytes += send_bytes; } t->ping_state.pings_before_data_required = -- GitLab