Skip to content

Commit e418b4f

Browse files
gengjiawenBethGriggs
authored andcommitted
src: fix if indent in node_http2.cc
PR-URL: #26396 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Masashi Hirano <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent b7b08d1 commit e418b4f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/node_http2.cc

+3-2
Original file line numberDiff line numberDiff line change
@@ -1881,8 +1881,9 @@ Http2Stream::Http2Stream(
18811881

18821882
// Limit the number of header pairs
18831883
max_header_pairs_ = session->GetMaxHeaderPairs();
1884-
if (max_header_pairs_ == 0)
1885-
max_header_pairs_ = DEFAULT_MAX_HEADER_LIST_PAIRS;
1884+
if (max_header_pairs_ == 0) {
1885+
max_header_pairs_ = DEFAULT_MAX_HEADER_LIST_PAIRS;
1886+
}
18861887
current_headers_.reserve(max_header_pairs_);
18871888

18881889
// Limit the number of header octets

0 commit comments

Comments
 (0)