diff options
author | Sree Kuchibhotla <sreek@google.com> | 2017-01-27 14:31:30 -0800 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2017-01-27 14:31:30 -0800 |
commit | cc2971b9f73a2c9400009975c51d8c436983d320 (patch) | |
tree | d9e8c1134186286666baf8e00f9b4eed93e625bd /src/core/ext/resolver/sockaddr | |
parent | 9930e4b39486b3eb62609c67b87d7bc80f63e50d (diff) | |
parent | 46357c882df1afc28f7a5228c40fde522093fa32 (diff) |
Merge branch 'master' into pollset_set_test
Diffstat (limited to 'src/core/ext/resolver/sockaddr')
-rw-r--r-- | src/core/ext/resolver/sockaddr/sockaddr_resolver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/resolver/sockaddr/sockaddr_resolver.c b/src/core/ext/resolver/sockaddr/sockaddr_resolver.c index c146a627cb..a1365f6465 100644 --- a/src/core/ext/resolver/sockaddr/sockaddr_resolver.c +++ b/src/core/ext/resolver/sockaddr/sockaddr_resolver.c @@ -182,7 +182,7 @@ static grpc_resolver *sockaddr_create(grpc_exec_ctx *exec_ctx, bool errors_found = false; for (size_t i = 0; i < addresses->num_addresses; i++) { grpc_uri ith_uri = *args->uri; - char *part_str = grpc_dump_slice(path_parts.slices[i], GPR_DUMP_ASCII); + char *part_str = grpc_slice_to_c_string(path_parts.slices[i]); ith_uri.path = part_str; if (!parse(&ith_uri, &addresses->addresses[i].address)) { errors_found = true; /* GPR_TRUE */ |