diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-05-13 23:05:50 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-05-13 23:05:50 +0200 |
commit | fc26af9cdf7ffb3b98dacb450c3062afbeb9102f (patch) | |
tree | 6857a5a05746453fbe2675787637573586d9462a | |
parent | 2e7d7a22048a33bbb77051426de0c6a8ca62e326 (diff) | |
download | curl-bagder/http2-perform-upload.tar.gz |
fixup http2 compiler warningbagder/http2-perform-upload
-rw-r--r-- | lib/http2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http2.c b/lib/http2.c index 58f4c9920..62b109293 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -121,8 +121,8 @@ static int http2_perform_getsock(const struct connectdata *conn, bitmap |= GETSOCK_READSOCK(FIRSTSOCKET); /* we're still uploading or the HTTP/2 layer wants to send data */ - if((k->keepon & KEEP_SEND|KEEP_SEND_PAUSE) == KEEP_SEND) || - nghttp2_session_want_write(c->h2)) + if(((k->keepon & (KEEP_SEND|KEEP_SEND_PAUSE)) == KEEP_SEND) || + nghttp2_session_want_write(c->h2)) bitmap |= GETSOCK_WRITESOCK(FIRSTSOCKET); return bitmap; |