aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2015-07-08 23:51:37 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2015-07-08 23:55:40 -0700
commite00d2aee4cb4b1470b6b7a7b77d939f6659c680d (patch)
treeb01220348b2fa227bbe0d4c4ad00162046e584ed /test
parentb1866bdb5fa55a036b3beff4937a2f206bc2c4be (diff)
Fixed stupid bug from another dimension. Thanks msan.
Diffstat (limited to 'test')
-rw-r--r--test/core/end2end/tests/request_with_compressed_payload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/end2end/tests/request_with_compressed_payload.c b/test/core/end2end/tests/request_with_compressed_payload.c
index a6057457c4..0c1b065bd8 100644
--- a/test/core/end2end/tests/request_with_compressed_payload.c
+++ b/test/core/end2end/tests/request_with_compressed_payload.c
@@ -129,7 +129,7 @@ static void request_with_payload_template(
cq_verifier *cqv;
char str[1024];
- memset(&str[0], 1023, 'x'); str[1023] = '\0';
+ memset(str, 'x', 1023); str[1023] = '\0';
request_payload_slice = gpr_slice_from_copied_string(str);
request_payload = grpc_raw_byte_buffer_create(&request_payload_slice, 1);