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: nodejs#25761
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
danbev authored and addaleax committed Jan 30, 2019
1 parent 15b0ab1 commit 756b0ac
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 756b0ac

Please sign in to comment.