From fc26af9cdf7ffb3b98dacb450c3062afbeb9102f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 13 May 2018 23:05:50 +0200 Subject: fixup http2 compiler warning --- lib/http2.c | 4 ++-- 1 file 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; -- cgit v1.2.1