src, tools: add check for left leaning pointers · Trott/io.js@cbc3dd9 (original) (raw)

`@@ -120,8 +120,8 @@ extern int events_enabled;

`

120

120

``

121

121

``

122

122

`void NODE_HTTP_SERVER_REQUEST(node_dtrace_http_server_request_t* req,

`

123

``

`-

node_dtrace_connection_t* conn, const char *remote, int port,

`

124

``

`-

const char *method, const char *url, int fd) {

`

``

123

`+

node_dtrace_connection_t* conn, const char* remote, int port,

`

``

124

`+

const char* method, const char* url, int fd) {

`

125

125

` EVENT_DATA_DESCRIPTOR descriptors[7];

`

126

126

`ETW_WRITE_HTTP_SERVER_REQUEST(descriptors, req);

`

127

127

`ETW_WRITE_NET_CONNECTION(descriptors + 3, conn);

`

`@@ -130,16 +130,16 @@ void NODE_HTTP_SERVER_REQUEST(node_dtrace_http_server_request_t* req,

`

130

130

``

131

131

``

132

132

`void NODE_HTTP_SERVER_RESPONSE(node_dtrace_connection_t* conn,

`

133

``

`-

const char *remote, int port, int fd) {

`

``

133

`+

const char* remote, int port, int fd) {

`

134

134

` EVENT_DATA_DESCRIPTOR descriptors[4];

`

135

135

`ETW_WRITE_NET_CONNECTION(descriptors, conn);

`

136

136

`ETW_WRITE_EVENT(NODE_HTTP_SERVER_RESPONSE_EVENT, descriptors);

`

137

137

`}

`

138

138

``

139

139

``

140

140

`void NODE_HTTP_CLIENT_REQUEST(node_dtrace_http_client_request_t* req,

`

141

``

`-

node_dtrace_connection_t* conn, const char *remote, int port,

`

142

``

`-

const char *method, const char *url, int fd) {

`

``

141

`+

node_dtrace_connection_t* conn, const char* remote, int port,

`

``

142

`+

const char* method, const char* url, int fd) {

`

143

143

` EVENT_DATA_DESCRIPTOR descriptors[6];

`

144

144

`ETW_WRITE_HTTP_CLIENT_REQUEST(descriptors, req);

`

145

145

`ETW_WRITE_NET_CONNECTION(descriptors + 2, conn);

`

`@@ -148,23 +148,23 @@ void NODE_HTTP_CLIENT_REQUEST(node_dtrace_http_client_request_t* req,

`

148

148

``

149

149

``

150

150

`void NODE_HTTP_CLIENT_RESPONSE(node_dtrace_connection_t* conn,

`

151

``

`-

const char *remote, int port, int fd) {

`

``

151

`+

const char* remote, int port, int fd) {

`

152

152

` EVENT_DATA_DESCRIPTOR descriptors[4];

`

153

153

`ETW_WRITE_NET_CONNECTION(descriptors, conn);

`

154

154

`ETW_WRITE_EVENT(NODE_HTTP_CLIENT_RESPONSE_EVENT, descriptors);

`

155

155

`}

`

156

156

``

157

157

``

158

158

`void NODE_NET_SERVER_CONNECTION(node_dtrace_connection_t* conn,

`

159

``

`-

const char *remote, int port, int fd) {

`

``

159

`+

const char* remote, int port, int fd) {

`

160

160

` EVENT_DATA_DESCRIPTOR descriptors[4];

`

161

161

`ETW_WRITE_NET_CONNECTION(descriptors, conn);

`

162

162

`ETW_WRITE_EVENT(NODE_NET_SERVER_CONNECTION_EVENT, descriptors);

`

163

163

`}

`

164

164

``

165

165

``

166

166

`void NODE_NET_STREAM_END(node_dtrace_connection_t* conn,

`

167

``

`-

const char *remote, int port, int fd) {

`

``

167

`+

const char* remote, int port, int fd) {

`

168

168

` EVENT_DATA_DESCRIPTOR descriptors[4];

`

169

169

`ETW_WRITE_NET_CONNECTION(descriptors, conn);

`

170

170

`ETW_WRITE_EVENT(NODE_NET_STREAM_END_EVENT, descriptors);

`