diff options
author | Dan Born <dborn@google.com> | 2017-02-09 20:32:02 -0800 |
---|---|---|
committer | Dan Born <dborn@google.com> | 2017-02-09 20:32:02 -0800 |
commit | 3158f7bb47a4f04d17050d00951cd140799278fc (patch) | |
tree | 8b2dcfac2a7938a98828becfec34a00c1c5888c4 /test/core | |
parent | 8886a818656a1ea454bf01b2943ef03418fdc44e (diff) |
API changes
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/iomgr/tcp_server_posix_test.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/core/iomgr/tcp_server_posix_test.c b/test/core/iomgr/tcp_server_posix_test.c index 374e63f748..4a6570015f 100644 --- a/test/core/iomgr/tcp_server_posix_test.c +++ b/test/core/iomgr/tcp_server_posix_test.c @@ -390,9 +390,8 @@ static void test_connect(size_t num_connects, result.server_fd >= 0 && result.server == s) { continue; } - const char *err_str = grpc_error_string(err); - gpr_log(GPR_ERROR, "Failed to connect to %s: %s", dst.str, err_str); - grpc_error_free_string(err_str); + gpr_log(GPR_ERROR, "Failed to connect to %s: %s", dst.str, + grpc_error_string(err)); GPR_ASSERT(test_dst_addrs); dst_addrs->addrs[dst_idx].addr.len = 0; GRPC_ERROR_UNREF(err); |