aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Bogdan Drutu <bdrutu@google.com>2016-02-16 14:38:38 -0800
committerGravatar Bogdan Drutu <bdrutu@google.com>2016-02-16 14:38:38 -0800
commitf89fdf39df771e241e40ce019a678acc3afbb027 (patch)
treeaf41bdd6573877d6b9150d3cced714dcbe6ea6e3 /test
parent221bb1dae0feb7801dacd4f2c32045a2e15651d9 (diff)
Fix the arguments type for on_read and destroy callbacks to match with grpc_iomgr_cb_func
Diffstat (limited to 'test')
-rw-r--r--test/core/iomgr/udp_server_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/iomgr/udp_server_test.c b/test/core/iomgr/udp_server_test.c
index 85e28732e4..0bb69a2a76 100644
--- a/test/core/iomgr/udp_server_test.c
+++ b/test/core/iomgr/udp_server_test.c
@@ -173,7 +173,7 @@ static void test_receive(int number_of_clients) {
grpc_exec_ctx_finish(&exec_ctx);
}
-static void destroy_pollset(grpc_exec_ctx *exec_ctx, void *p, int success) {
+static void destroy_pollset(grpc_exec_ctx *exec_ctx, void *p, bool success) {
grpc_pollset_destroy(p);
}