diff options
author | 2017-11-06 13:13:20 -0800 | |
---|---|---|
committer | 2017-11-06 13:13:20 -0800 | |
commit | 6fb23dbc3d1b3ce4b366c4300a6e78afa3bcd566 (patch) | |
tree | ef9273a36b371d6646056c0d9f25a72474aaae56 /test/core/support/host_port_test.c | |
parent | d02751aed1265e0d14c1058bc3dd15b6179f5dc7 (diff) | |
parent | 0f2cfdcc0f57d21fe2823268263ef5bdc4b6704c (diff) |
Merge branch 'master' into remove_node
Diffstat (limited to 'test/core/support/host_port_test.c')
-rw-r--r-- | test/core/support/host_port_test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/core/support/host_port_test.c b/test/core/support/host_port_test.c index 2ff3bcf68e..42dd56524f 100644 --- a/test/core/support/host_port_test.c +++ b/test/core/support/host_port_test.c @@ -23,9 +23,9 @@ #include <grpc/support/log.h> #include "test/core/util/test_config.h" -static void join_host_port_expect(const char *host, int port, - const char *expected) { - char *buf; +static void join_host_port_expect(const char* host, int port, + const char* expected) { + char* buf; int len; len = gpr_join_host_port(&buf, host, port); GPR_ASSERT(len >= 0); @@ -48,7 +48,7 @@ static void test_join_host_port_garbage(void) { join_host_port_expect("::]", 107, "[::]]:107"); } -int main(int argc, char **argv) { +int main(int argc, char** argv) { grpc_test_init(argc, argv); test_join_host_port(); |