Skip to content

Commit f99349d

Browse files
gengjiawenBridgeAR
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 4b6c653 commit f99349d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: src/node_http2.cc

+3-2
Original file line numberDiff line numberDiff line change
@@ -1875,8 +1875,9 @@ Http2Stream::Http2Stream(Http2Session* session,
18751875

18761876
// Limit the number of header pairs
18771877
max_header_pairs_ = session->GetMaxHeaderPairs();
1878-
if (max_header_pairs_ == 0)
1879-
max_header_pairs_ = DEFAULT_MAX_HEADER_LIST_PAIRS;
1878+
if (max_header_pairs_ == 0) {
1879+
max_header_pairs_ = DEFAULT_MAX_HEADER_LIST_PAIRS;
1880+
}
18801881
current_headers_.reserve(max_header_pairs_);
18811882

18821883
// Limit the number of header octets

0 commit comments

Comments
 (0)