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>
process-exit-stdio-flushing
Brian White 9 years ago
committed by James M Snell
parent
commit
0223de6ba5
  1. 1
      lib/_http_outgoing.js

1
lib/_http_outgoing.js

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

Loading…
Cancel
Save