aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/util/passthru_endpoint.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-04-22 14:47:05 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-04-22 14:47:05 -0700
commitd78ca88da1cc7989426d8cdb902c056fae2ba549 (patch)
tree29db5ba40e204756352f277e3f31be4f5880122d /test/core/util/passthru_endpoint.c
parent3ec4b83f7a6e8489c786ad5d2bcf99eb61c11736 (diff)
Fix bugs in test infra
Diffstat (limited to 'test/core/util/passthru_endpoint.c')
-rw-r--r--test/core/util/passthru_endpoint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/core/util/passthru_endpoint.c b/test/core/util/passthru_endpoint.c
index 156c666044..c7bcd2de7b 100644
--- a/test/core/util/passthru_endpoint.c
+++ b/test/core/util/passthru_endpoint.c
@@ -148,6 +148,7 @@ static void half_init(half *m, passthru_endpoint *parent) {
void grpc_passthru_endpoint_create(grpc_endpoint **client,
grpc_endpoint **server) {
passthru_endpoint *m = gpr_malloc(sizeof(*m));
+ m->halves = 2;
half_init(&m->client, m);
half_init(&m->server, m);
gpr_mu_init(&m->mu);