aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/support/host_port_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/support/host_port_test.c')
-rw-r--r--test/core/support/host_port_test.c8
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();