]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
http2: fix code indent
authorStefan Eissing <stefan@eissing.org>
Wed, 1 Mar 2023 15:18:12 +0000 (16:18 +0100)
committerJay Satiro <raysatiro@yahoo.com>
Thu, 2 Mar 2023 05:09:53 +0000 (00:09 -0500)
Closes https://github.com/curl/curl/pull/10655

lib/http2.c

index 0bae69cb3a5a9d3e0e4b8883b4b6881836dfcf8c..9a5b41ffa424f6fe5a3b78cff1f67e0b975e0f56 100644 (file)
@@ -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));