summaryrefslogtreecommitdiff
path: root/src/node_http2.h
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2018-05-16 11:50:48 +0200
committerDaniel Bevenius <daniel.bevenius@gmail.com>2018-06-07 05:46:51 +0200
commitcbc3dd997eb90d629d1b9912b7a5a40eb82343df (patch)
tree822b55186ac52c127a686d2d828c15518be20186 /src/node_http2.h
parent75e91659887012f743aa4487d6d4ce3d765c028a (diff)
downloadandroid-node-v8-cbc3dd997eb90d629d1b9912b7a5a40eb82343df.tar.gz
android-node-v8-cbc3dd997eb90d629d1b9912b7a5a40eb82343df.tar.bz2
android-node-v8-cbc3dd997eb90d629d1b9912b7a5a40eb82343df.zip
src, tools: add check for left leaning pointers
This commit adds a rule to cpplint to check that pointers in the code base lean to the left and not right, and also fixes the violations reported. PR-URL: https://github.com/nodejs/node/pull/21010 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_http2.h')
-rw-r--r--src/node_http2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_http2.h b/src/node_http2.h
index e0a93c8f0f..eb06d740ba 100644
--- a/src/node_http2.h
+++ b/src/node_http2.h
@@ -965,7 +965,7 @@ class Http2Session : public AsyncWrap, public StreamListener {
void* user_data);
static int OnInvalidFrame(
nghttp2_session* session,
- const nghttp2_frame *frame,
+ const nghttp2_frame* frame,
int lib_error_code,
void* user_data);