diff options
author | David G. Quintas <dgq@google.com> | 2016-01-28 18:10:07 -0800 |
---|---|---|
committer | David G. Quintas <dgq@google.com> | 2016-01-28 18:10:07 -0800 |
commit | ee7e1c20edbab61182c0e1130bd13dc73c4884a9 (patch) | |
tree | 9cddd9cfb22dfe63547ba8cb3eae088f81722d0f /test/core/security | |
parent | 7fbc0acf4ae9d0e719ea4917fbcbeca1d0b06b52 (diff) | |
parent | c085e5c0614b6efc4a1fa1a9a6cc6b37fe0523ba (diff) |
Merge pull request #4950 from ctiller/offload-racing
Preparatory changes for work shedding
Diffstat (limited to 'test/core/security')
-rw-r--r-- | test/core/security/oauth2_utils.c | 4 | ||||
-rw-r--r-- | test/core/security/secure_endpoint_test.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/test/core/security/oauth2_utils.c b/test/core/security/oauth2_utils.c index fb62bf4134..55ac31e62c 100644 --- a/test/core/security/oauth2_utils.c +++ b/test/core/security/oauth2_utils.c @@ -1,6 +1,6 @@ /* * - * Copyright 2015, Google Inc. + * Copyright 2015-2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -73,7 +73,7 @@ static void on_oauth2_response(grpc_exec_ctx *exec_ctx, void *user_data, gpr_mu_unlock(GRPC_POLLSET_MU(&request->pollset)); } -static void do_nothing(grpc_exec_ctx *exec_ctx, void *unused, int success) {} +static void do_nothing(grpc_exec_ctx *exec_ctx, void *unused, bool success) {} char *grpc_test_fetch_oauth2_token_with_credentials( grpc_call_credentials *creds) { diff --git a/test/core/security/secure_endpoint_test.c b/test/core/security/secure_endpoint_test.c index 240c4596b4..fb4bd30e2d 100644 --- a/test/core/security/secure_endpoint_test.c +++ b/test/core/security/secure_endpoint_test.c @@ -1,6 +1,6 @@ /* * - * Copyright 2015, Google Inc. + * Copyright 2015-2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -138,7 +138,7 @@ static grpc_endpoint_test_config configs[] = { secure_endpoint_create_fixture_tcp_socketpair_leftover, clean_up}, }; -static void inc_call_ctr(grpc_exec_ctx *exec_ctx, void *arg, int success) { +static void inc_call_ctr(grpc_exec_ctx *exec_ctx, void *arg, bool success) { ++*(int *)arg; } @@ -171,7 +171,7 @@ static void test_leftover(grpc_endpoint_test_config config, size_t slice_size) { clean_up(); } -static void destroy_pollset(grpc_exec_ctx *exec_ctx, void *p, int success) { +static void destroy_pollset(grpc_exec_ctx *exec_ctx, void *p, bool success) { grpc_pollset_destroy(p); } |