diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-12-13 21:53:13 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-12-13 21:53:13 -0800 |
commit | e7701b6e5377ab51ed9be26ad89d1e5530f9dd3f (patch) | |
tree | 5fd8e390f2f94d1b2e9d5ec2ea1c2dc1e67d6752 /test | |
parent | ff767730e18866811bdc54919da0028b3fc5febe (diff) | |
parent | da0cf3cdfb0cece38ed3bac26e99146aca6eaab1 (diff) |
Merge branch 'bob' into ssl-bad-con
Diffstat (limited to 'test')
-rw-r--r-- | test/core/httpcli/parser_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/httpcli/parser_test.c b/test/core/httpcli/parser_test.c index f3f17e157f..a26ddd2821 100644 --- a/test/core/httpcli/parser_test.c +++ b/test/core/httpcli/parser_test.c @@ -160,7 +160,7 @@ int main(int argc, char **argv) { tmp1 = gpr_malloc(2 * GRPC_HTTPCLI_MAX_HEADER_LENGTH); memset(tmp1, 'a', 2 * GRPC_HTTPCLI_MAX_HEADER_LENGTH - 1); - tmp1[2 * GRPC_HTTPCLI_MAX_HEADER_LENGTH] = 0; + tmp1[2 * GRPC_HTTPCLI_MAX_HEADER_LENGTH - 1] = 0; gpr_asprintf(&tmp2, "HTTP/1.0 200 OK\r\nxyz: %s\r\n\r\n", tmp1); test_fails(split_modes[i], tmp2); gpr_free(tmp1); |