]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
http2: minor white space edit
authorDaniel Stenberg <daniel@haxx.se>
Mon, 5 Sep 2016 07:52:09 +0000 (09:52 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 5 Sep 2016 09:08:50 +0000 (11:08 +0200)
lib/http2.c

index 001e0c0b959fde74ed4292e9800525ec021d9feb..55eccaabff5cec59515fe4ef8c61116f67a56753 100644 (file)
@@ -1132,9 +1132,10 @@ 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);
+    !nghttp2_session_want_write(httpc->h2);
 }
 
 static int h2_session_send(struct Curl_easy *data,