aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/tests/connectivity.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-11-06 12:50:14 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-11-06 12:50:14 -0800
commit0be9ad440878b94d9a68f35992c23e7f99375dbc (patch)
tree9ce37a5e50f1ee47df6d42ef3e44d63160e8d0dc /test/core/end2end/tests/connectivity.c
parentc60659ad023d01f8d0f6ad0f87fefbd3740002d0 (diff)
parente759d2ad7abdb0702970eeccc5f033ff4b2a4c7f (diff)
Merge github.com:grpc/grpc into lfe3
Diffstat (limited to 'test/core/end2end/tests/connectivity.c')
-rw-r--r--test/core/end2end/tests/connectivity.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/core/end2end/tests/connectivity.c b/test/core/end2end/tests/connectivity.c
index 610243ee3a..a3f69cd425 100644
--- a/test/core/end2end/tests/connectivity.c
+++ b/test/core/end2end/tests/connectivity.c
@@ -25,18 +25,18 @@
#include "test/core/end2end/cq_verifier.h"
-static void *tag(intptr_t t) { return (void *)t; }
+static void* tag(intptr_t t) { return (void*)t; }
typedef struct {
gpr_event started;
- grpc_channel *channel;
- grpc_completion_queue *cq;
+ grpc_channel* channel;
+ grpc_completion_queue* cq;
} child_events;
-static void child_thread(void *arg) {
- child_events *ce = (child_events *)arg;
+static void child_thread(void* arg) {
+ child_events* ce = (child_events*)arg;
grpc_event ev;
- gpr_event_set(&ce->started, (void *)1);
+ gpr_event_set(&ce->started, (void*)1);
gpr_log(GPR_DEBUG, "verifying");
ev = grpc_completion_queue_next(ce->cq, gpr_inf_future(GPR_CLOCK_MONOTONIC),
NULL);
@@ -48,7 +48,7 @@ static void child_thread(void *arg) {
static void test_connectivity(grpc_end2end_test_config config) {
grpc_end2end_test_fixture f = config.create_fixture(NULL, NULL);
grpc_connectivity_state state;
- cq_verifier *cqv = cq_verifier_create(f.cq);
+ cq_verifier* cqv = cq_verifier_create(f.cq);
child_events ce;
gpr_thd_options thdopt = gpr_thd_options_default();
gpr_thd_id thdid;