diff options
author | 2016-10-30 22:10:18 -0700 | |
---|---|---|
committer | 2016-10-30 23:41:49 -0700 | |
commit | df1da9ffc0be338742481b4e1a5e2a20c04e3d99 (patch) | |
tree | bfe0f5616f768d1dd8895b0465086632a7f19f75 /test/core/end2end/tests/cancel_before_invoke.c | |
parent | ed2be64d82d7cff11b6c2fb2bf127585fd5f1107 (diff) |
Convert validate_host_override_string into a function and rename into get_host_override_string
Diffstat (limited to 'test/core/end2end/tests/cancel_before_invoke.c')
-rw-r--r-- | test/core/end2end/tests/cancel_before_invoke.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/tests/cancel_before_invoke.c b/test/core/end2end/tests/cancel_before_invoke.c index b446264f9d..e97ddd63ca 100644 --- a/test/core/end2end/tests/cancel_before_invoke.c +++ b/test/core/end2end/tests/cancel_before_invoke.c @@ -43,7 +43,7 @@ #include <grpc/support/useful.h> #include "test/core/end2end/cq_verifier.h" -static char *authority; +static const char *authority; static void *tag(intptr_t t) { return (void *)t; } @@ -191,7 +191,7 @@ static void test_cancel_before_invoke(grpc_end2end_test_config config, void cancel_before_invoke(grpc_end2end_test_config config) { size_t i; - authority = validate_host_override_string("foo.test.google.fr", config); + authority = get_host_override_string("foo.test.google.fr", config); for (i = 1; i <= 6; i++) { test_cancel_before_invoke(config, i); } |