aboutsummaryrefslogtreecommitdiff
path: root/lib/http2.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-09-05 09:52:09 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-09-05 11:08:50 +0200
commitcd5c03aa6da7d29590dde3b9e048c838e69e5027 (patch)
treed67603f1a9270fd58602db309cd30ddd2990dc67 /lib/http2.c
parent71e2acaad6cd5bdcab8ef84eced1f918f61daf77 (diff)
http2: minor white space edit
Diffstat (limited to 'lib/http2.c')
-rw-r--r--lib/http2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/http2.c b/lib/http2.c
index 001e0c0b9..55eccaabf 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -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,