diff options
author | Craig Tiller <ctiller@google.com> | 2015-09-10 14:54:26 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-09-10 14:54:26 -0700 |
commit | 2ed498151da3b68107312b6397dbff4b4f60e475 (patch) | |
tree | 94e1ccd764001e4d65bf5457c2e652450a8787ea /src/core/transport/chttp2 | |
parent | f96dfc3cf89f0e10a5356ca1bcfd4697410a75c4 (diff) |
Fix typo
Diffstat (limited to 'src/core/transport/chttp2')
-rw-r--r-- | src/core/transport/chttp2/parsing.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/transport/chttp2/parsing.c b/src/core/transport/chttp2/parsing.c index a29987a05a..5d3dfe2286 100644 --- a/src/core/transport/chttp2/parsing.c +++ b/src/core/transport/chttp2/parsing.c @@ -194,8 +194,9 @@ void grpc_chttp2_publish_reads( GRPC_CHTTP2_FLOWCTL_TRACE_STREAM( "parsed", transport_parsing, stream_parsing, outgoing_window_update, -(gpr_int64)stream_parsing->outgoing_window_update); + GPR_ASSERT(stream_parsing->outgoing_window_update <= GPR_UINT32_MAX); stream_global->outgoing_window += - (gpr_uint32)stream_global->outgoing_window; + (gpr_uint32)stream_parsing->outgoing_window_update; stream_parsing->outgoing_window_update = 0; is_zero = stream_global->outgoing_window <= 0; if (was_zero && !is_zero) { |