diff options
author | Stefan Eissing <stefan@eissing.org> | 2023-03-01 16:18:12 +0100 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2023-03-02 00:09:53 -0500 |
commit | 8151d7babcb0208d26e79ce48472a07296f07a68 (patch) | |
tree | 200343521216e7e84ad2ac06802282a0d0297049 /lib/http2.c | |
parent | 233810bb5f6c5e7bedfc10bdd36607b958c0cfe4 (diff) | |
download | curl-8151d7babcb0208d26e79ce48472a07296f07a68.tar.gz |
http2: fix code indent
Closes https://github.com/curl/curl/pull/10655
Diffstat (limited to 'lib/http2.c')
-rw-r--r-- | lib/http2.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/http2.c b/lib/http2.c index 0bae69cb3..9a5b41ffa 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -942,17 +942,17 @@ static int on_frame_recv(nghttp2_session *session, const nghttp2_frame *frame, DEBUGF(LOG_CF(data_s, cf, "[h2sid=%u] recv RST", stream_id)); stream->reset = TRUE; break; - case NGHTTP2_WINDOW_UPDATE: - DEBUGF(LOG_CF(data, cf, "[h2sid=%u] recv WINDOW_UPDATE", stream_id)); - if((data_s->req.keepon & KEEP_SEND_PAUSE) && - (data_s->req.keepon & KEEP_SEND)) { - data_s->req.keepon &= ~KEEP_SEND_PAUSE; - drain_this(cf, data_s); - Curl_expire(data_s, 0, EXPIRE_RUN_NOW); - DEBUGF(LOG_CF(data, cf, "[h2sid=%u] unpausing after win update", - stream_id)); - } - break; + case NGHTTP2_WINDOW_UPDATE: + DEBUGF(LOG_CF(data, cf, "[h2sid=%u] recv WINDOW_UPDATE", stream_id)); + if((data_s->req.keepon & KEEP_SEND_PAUSE) && + (data_s->req.keepon & KEEP_SEND)) { + data_s->req.keepon &= ~KEEP_SEND_PAUSE; + drain_this(cf, data_s); + Curl_expire(data_s, 0, EXPIRE_RUN_NOW); + DEBUGF(LOG_CF(data, cf, "[h2sid=%u] unpausing after win update", + stream_id)); + } + break; default: DEBUGF(LOG_CF(data_s, cf, "[h2sid=%u] recv frame %x", stream_id, frame->hd.type)); |