aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-06-08 14:10:49 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-06-08 14:10:49 -0700
commitae6083674ad9fef86223968c5ffe12bc5a133d83 (patch)
tree9e3dae22a9ba122f99bf8210a8706e30aba9ac4c
parent8239b804598c114be892e0c4ee96041d9781521f (diff)
clang-format
-rw-r--r--src/core/ext/filters/client_channel/client_channel.c3
-rw-r--r--src/core/lib/iomgr/tcp_windows.c13
-rw-r--r--test/core/bad_client/bad_client.c4
3 files changed, 8 insertions, 12 deletions
diff --git a/src/core/ext/filters/client_channel/client_channel.c b/src/core/ext/filters/client_channel/client_channel.c
index 0ce26aff37..3ec539884b 100644
--- a/src/core/ext/filters/client_channel/client_channel.c
+++ b/src/core/ext/filters/client_channel/client_channel.c
@@ -1222,8 +1222,7 @@ static void start_transport_stream_op_batch_locked_inner(
set_call_or_error(calld,
(call_or_error){.error = GRPC_ERROR_REF(error)});
fail_locked(exec_ctx, calld, GRPC_ERROR_REF(error));
- grpc_transport_stream_op_batch_finish_with_failure(
- exec_ctx, op, error);
+ grpc_transport_stream_op_batch_finish_with_failure(exec_ctx, op, error);
return; // Early out.
}
} else {
diff --git a/src/core/lib/iomgr/tcp_windows.c b/src/core/lib/iomgr/tcp_windows.c
index 3f41e7a7fb..dbae42e936 100644
--- a/src/core/lib/iomgr/tcp_windows.c
+++ b/src/core/lib/iomgr/tcp_windows.c
@@ -402,15 +402,10 @@ static grpc_resource_user *win_get_resource_user(grpc_endpoint *ep) {
static int win_get_fd(grpc_endpoint *ep) { return -1; }
-static grpc_endpoint_vtable vtable = {win_read,
- win_write,
- win_add_to_pollset,
- win_add_to_pollset_set,
- win_shutdown,
- win_destroy,
- win_get_resource_user,
- win_get_peer,
- win_get_fd};
+static grpc_endpoint_vtable vtable = {
+ win_read, win_write, win_add_to_pollset, win_add_to_pollset_set,
+ win_shutdown, win_destroy, win_get_resource_user, win_get_peer,
+ win_get_fd};
grpc_endpoint *grpc_tcp_create(grpc_exec_ctx *exec_ctx, grpc_winsocket *socket,
grpc_channel_args *channel_args,
diff --git a/test/core/bad_client/bad_client.c b/test/core/bad_client/bad_client.c
index 1b63bd93cc..4f8e428278 100644
--- a/test/core/bad_client/bad_client.c
+++ b/test/core/bad_client/bad_client.c
@@ -172,7 +172,9 @@ void grpc_run_bad_client_test(
gpr_timespec deadline = grpc_timeout_seconds_to_deadline(5);
while (!gpr_event_get(&args.read_done)) {
GPR_ASSERT(gpr_time_cmp(deadline, gpr_now(deadline.clock_type)) > 0);
- GPR_ASSERT(grpc_completion_queue_next(a.cq, grpc_timeout_milliseconds_to_deadline(100), NULL).type == GRPC_QUEUE_TIMEOUT);
+ GPR_ASSERT(grpc_completion_queue_next(
+ a.cq, grpc_timeout_milliseconds_to_deadline(100), NULL)
+ .type == GRPC_QUEUE_TIMEOUT);
}
grpc_slice_buffer_destroy_internal(&exec_ctx, &args.incoming);
}