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/streaming_error_response.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/streaming_error_response.c')
-rw-r--r-- | test/core/end2end/tests/streaming_error_response.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/tests/streaming_error_response.c b/test/core/end2end/tests/streaming_error_response.c index 13b7a372dd..2eaa4a4d1b 100644 --- a/test/core/end2end/tests/streaming_error_response.c +++ b/test/core/end2end/tests/streaming_error_response.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; } @@ -273,7 +273,7 @@ static void test(grpc_end2end_test_config config, bool request_status_early) { } void streaming_error_response(grpc_end2end_test_config config) { - authority = validate_host_override_string("foo.test.google.fr", config); + authority = get_host_override_string("foo.test.google.fr", config); test(config, false); test(config, true); } |