More clang-format fixes.

pull/6320/head
Mark D. Roth 9 years ago
parent 22b338e210
commit f2f707ca55
  1. 2
      src/core/lib/transport/metadata_batch.c
  2. 4
      test/core/bad_client/bad_client.h
  3. 2
      test/core/end2end/tests/large_metadata.c

@ -195,7 +195,7 @@ int grpc_metadata_batch_is_empty(grpc_metadata_batch *batch) {
size_t grpc_metadata_batch_size(grpc_metadata_batch *batch) {
size_t size = 0;
for (grpc_linked_mdelem* elem = batch->list.head; elem != NULL;
for (grpc_linked_mdelem *elem = batch->list.head; elem != NULL;
elem = elem->next) {
size += GRPC_MDELEM_LENGTH(elem->md);
}

@ -60,8 +60,8 @@ void grpc_run_bad_client_test(
const char *client_payload, size_t client_payload_length, uint32_t flags);
#define GRPC_RUN_BAD_CLIENT_TEST(server_validator, client_validator, payload, \
flags) \
grpc_run_bad_client_test(server_validator, client_validator, payload, \
flags) \
grpc_run_bad_client_test(server_validator, client_validator, payload, \
sizeof(payload) - 1, flags)
#endif /* GRPC_TEST_CORE_BAD_CLIENT_BAD_CLIENT_H */

@ -109,7 +109,7 @@ static void test_request_with_large_metadata(grpc_end2end_test_config config) {
const size_t large_size = 64 * 1024;
grpc_arg arg = {GRPC_ARG_INTEGER,
GRPC_ARG_MAX_METADATA_SIZE,
{.integer=(int)large_size + 1024}};
{.integer = (int)large_size + 1024}};
grpc_channel_args args = {1, &arg};
grpc_end2end_test_fixture f =
begin_test(config, "test_request_with_large_metadata", &args, &args);

Loading…
Cancel
Save