Browse Source

http: remove unnecessary check

The value passed to `process.nextTick()` which is passed to the
callback is already a valid object, so the conditional will always
evaluate to true.

PR-URL: https://github.com/nodejs/node/pull/5233
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
v4.x
Brian White 9 years ago
committed by Myles Borins
parent
commit
ca5d7a8bb6
  1. 1
      lib/_http_outgoing.js

1
lib/_http_outgoing.js

@ -493,7 +493,6 @@ function writeAfterEndNT(self, err, callback) {
function connectionCorkNT(conn) { function connectionCorkNT(conn) {
if (conn)
conn.uncork(); conn.uncork();
} }

Loading…
Cancel
Save