diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-01-23 13:52:43 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-01-23 13:52:43 -0800 |
commit | b7b9c758ed04a2de87822b5f37a993e529b84c28 (patch) | |
tree | 781eda1b14afe82cc248d93ca7375d62546b627f /test/core/transport/chttp2 | |
parent | 672cd42a04aa74d86f8ffbc1aa44b662ea7f6f1b (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.c | 2 |
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)); |