aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/fixtures
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-09-08 07:40:23 -0700
committerGravatar Mark D. Roth <roth@google.com>2016-09-08 07:40:23 -0700
commitcd5f7ede27ced0f4c4129da004e544b19d992dd3 (patch)
tree59410b28d1508f42ff6882dfa1965998b5dde467 /test/core/end2end/fixtures
parent164f0e926deba3a7d95a79be5aba25452d15d697 (diff)
Fix bug from previous commit.
Diffstat (limited to 'test/core/end2end/fixtures')
-rw-r--r--test/core/end2end/fixtures/http_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/end2end/fixtures/http_proxy.c b/test/core/end2end/fixtures/http_proxy.c
index 47f50069e2..22533b9694 100644
--- a/test/core/end2end/fixtures/http_proxy.c
+++ b/test/core/end2end/fixtures/http_proxy.c
@@ -200,7 +200,7 @@ static void on_client_read_done(grpc_exec_ctx* exec_ctx, void* arg,
// the current write is finished.
//
// Otherwise, move the read data into the write buffer and write it.
- if (conn->client_write_buffer.length > 0) {
+ if (conn->server_write_buffer.length > 0) {
gpr_slice_buffer_move_into(&conn->client_read_buffer,
&conn->server_deferred_write_buffer);
} else {