diff options
author | Craig Tiller <ctiller@google.com> | 2015-08-18 12:45:09 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-08-18 12:45:09 -0700 |
commit | 5c6e6276be8ae8dcae922c067b08cdb302d92acb (patch) | |
tree | 7c6e197814694a292d59020cf2d533218b0d56c3 /src/core/transport/chttp2/stream_map.c | |
parent | e50e5cbde2f77166b9f557938252de6792557f84 (diff) | |
parent | 4f21d3549c8f652a152ae086a74dd8415ecca8fa (diff) |
Merge github.com:grpc/grpc into shutdown-c++
Diffstat (limited to 'src/core/transport/chttp2/stream_map.c')
-rw-r--r-- | src/core/transport/chttp2/stream_map.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/transport/chttp2/stream_map.c b/src/core/transport/chttp2/stream_map.c index 0ec2f27291..bd16153ed1 100644 --- a/src/core/transport/chttp2/stream_map.c +++ b/src/core/transport/chttp2/stream_map.c @@ -123,8 +123,7 @@ void grpc_chttp2_stream_map_move_into(grpc_chttp2_stream_map *src, dst->values = gpr_realloc(dst->values, dst->capacity * sizeof(void *)); } memcpy(dst->keys + dst->count, src->keys, src->count * sizeof(gpr_uint32)); - memcpy(dst->values + dst->count, src->values, - src->count * sizeof(void*)); + memcpy(dst->values + dst->count, src->values, src->count * sizeof(void *)); dst->count += src->count; dst->free += src->free; src->count = 0; |