aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/util/passthru_endpoint.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-04-28 16:38:01 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-04-28 16:38:01 -0700
commit904e0a50866f6700dba74f31e1734be448d481f1 (patch)
treed81849f4b6bbf07a8ca0cf93a14497630bf392b7 /test/core/util/passthru_endpoint.c
parentd0b3ae40f70d89a74a70cc6fc2fb0935bef7a99b (diff)
Fix typo
Diffstat (limited to 'test/core/util/passthru_endpoint.c')
-rw-r--r--test/core/util/passthru_endpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/util/passthru_endpoint.c b/test/core/util/passthru_endpoint.c
index 159155886d..ae955b1f68 100644
--- a/test/core/util/passthru_endpoint.c
+++ b/test/core/util/passthru_endpoint.c
@@ -84,7 +84,7 @@ static void me_write(grpc_exec_ctx *exec_ctx, grpc_endpoint *ep,
ok = false;
} else if (m->on_read != NULL) {
for (size_t i = 0; i < slices->count; i++) {
- gpr_slice_buffer_add(&m->read_buffer, gpr_slice_ref(slices->slices[i]));
+ gpr_slice_buffer_add(m->on_read_out, gpr_slice_ref(slices->slices[i]));
}
grpc_exec_ctx_enqueue(exec_ctx, m->on_read, true, NULL);
m->on_read = NULL;