From 42c15a35e54a4ae8722d2558cfaf1bfe7b5a624a Mon Sep 17 00:00:00 2001
From: Yang Gao <yangg@google.com>
Date: Mon, 20 Apr 2015 14:34:28 -0700
Subject: [PATCH] resolve comment

---
 src/core/transport/chttp2_transport.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/transport/chttp2_transport.c b/src/core/transport/chttp2_transport.c
index 39297c37a3..995d64015a 100644
--- a/src/core/transport/chttp2_transport.c
+++ b/src/core/transport/chttp2_transport.c
@@ -868,7 +868,7 @@ static int prepare_write(transport *t) {
 
     /* if there are still writes to do and the stream still has window
        available, then schedule a further write */
-    if (s->outgoing_sopb.nops && s->outgoing_window > 0) {
+    if (s->outgoing_sopb.nops > 0 && s->outgoing_window > 0) {
       GPR_ASSERT(!t->outgoing_window);
       stream_list_add_tail(t, s, WRITABLE);
     }
-- 
GitLab