aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/transport/chttp2
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-01-23 13:52:43 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-01-23 13:52:43 -0800
commitb7b9c758ed04a2de87822b5f37a993e529b84c28 (patch)
tree781eda1b14afe82cc248d93ca7375d62546b627f /test/core/transport/chttp2
parent672cd42a04aa74d86f8ffbc1aa44b662ea7f6f1b (diff)
Add constant for min bufsize for timeout encoding
Diffstat (limited to 'test/core/transport/chttp2')
-rw-r--r--test/core/transport/chttp2/timeout_encoding_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/transport/chttp2/timeout_encoding_test.c b/test/core/transport/chttp2/timeout_encoding_test.c
index 4bb84e3f0b..ffa0070e34 100644
--- a/test/core/transport/chttp2/timeout_encoding_test.c
+++ b/test/core/transport/chttp2/timeout_encoding_test.c
@@ -43,7 +43,7 @@
#define LOG_TEST() gpr_log(GPR_INFO, "%s", __FUNCTION__)
static void assert_encodes_as(gpr_timespec ts, const char *s) {
- char buffer[32];
+ char buffer[GRPC_CHTTP2_TIMEOUT_ENCODE_MIN_BUFSIZE];
grpc_chttp2_encode_timeout(ts, buffer);
gpr_log(GPR_INFO, "check '%s' == '%s'", buffer, s);
GPR_ASSERT(0 == strcmp(buffer, s));