Commit cd5c03aa authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

http2: minor white space edit

parent 71e2acaa
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1132,7 +1132,8 @@ CURLcode Curl_http2_request_upgrade(Curl_send_buffer *req,
/*
 * Returns nonzero if current HTTP/2 session should be closed.
 */
static int should_close_session(struct http_conn *httpc) {
static int should_close_session(struct http_conn *httpc)
{
  return httpc->drain_total == 0 && !nghttp2_session_want_read(httpc->h2) &&
    !nghttp2_session_want_write(httpc->h2);
}