Skip to content

Commit

Permalink
src: fix indentation in a few node_http2 enums
Browse files Browse the repository at this point in the history
PR-URL: #25761
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
danbev authored and addaleax committed Jan 30, 2019
1 parent 3f080d1 commit 35454e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/node_http2.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,11 @@ struct nghttp2_header : public MemoryRetainer {
V(PROXY_CONNECTION, "proxy-connection")

enum http_known_headers {
HTTP_KNOWN_HEADER_MIN,
HTTP_KNOWN_HEADER_MIN,
#define V(name, value) HTTP_HEADER_##name,
HTTP_KNOWN_HEADERS(V)
HTTP_KNOWN_HEADERS(V)
#undef V
HTTP_KNOWN_HEADER_MAX
HTTP_KNOWN_HEADER_MAX
};

// While some of these codes are used within the HTTP/2 implementation in
Expand Down Expand Up @@ -313,7 +313,7 @@ HTTP_KNOWN_HEADER_MAX

enum http_status_codes {
#define V(name, code) HTTP_STATUS_##name = code,
HTTP_STATUS_CODES(V)
HTTP_STATUS_CODES(V)
#undef V
};

Expand Down

0 comments on commit 35454e0

Please sign in to comment.