diff options
author | David G. Quintas <dgq@google.com> | 2015-08-18 11:05:49 -0700 |
---|---|---|
committer | David G. Quintas <dgq@google.com> | 2015-08-18 11:05:49 -0700 |
commit | 4f21d3549c8f652a152ae086a74dd8415ecca8fa (patch) | |
tree | d8dae211eb45035d095e4549ab5af439e67b22dc /test/core/iomgr/udp_server_test.c | |
parent | bb1c795f998f052f854a6e1aeebff44e293a29f4 (diff) | |
parent | d6c98df792198c5c9687ed35a676efbc5e621e0f (diff) |
Merge pull request #2971 from ctiller/wtf-happened-to-our-formatting
clang-format all source
Diffstat (limited to 'test/core/iomgr/udp_server_test.c')
-rw-r--r-- | test/core/iomgr/udp_server_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/iomgr/udp_server_test.c b/test/core/iomgr/udp_server_test.c index 74b78958b0..5a5f99fb94 100644 --- a/test/core/iomgr/udp_server_test.c +++ b/test/core/iomgr/udp_server_test.c @@ -49,8 +49,7 @@ static grpc_pollset g_pollset; static int g_number_of_reads = 0; static int g_number_of_bytes_read = 0; -static void on_connect(void *arg, grpc_endpoint *udp) { -} +static void on_connect(void *arg, grpc_endpoint *udp) {} static void on_read(int fd, grpc_udp_server_cb new_transport_cb, void *cb_arg) { char read_buffer[512]; @@ -122,7 +121,8 @@ static void test_receive(int number_of_clients) { memset(&addr, 0, sizeof(addr)); addr.ss_family = AF_INET; - GPR_ASSERT(grpc_udp_server_add_port(s, (struct sockaddr *)&addr, addr_len, on_read)); + GPR_ASSERT( + grpc_udp_server_add_port(s, (struct sockaddr *)&addr, addr_len, on_read)); svrfd = grpc_udp_server_get_fd(s, 0); GPR_ASSERT(svrfd >= 0); |