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>
This commit is contained in:
parent
b72dbdbe43
commit
0223de6ba5
@ -489,8 +489,7 @@ function writeAfterEndNT(self, err, callback) {
|
||||
|
||||
|
||||
function connectionCorkNT(conn) {
|
||||
if (conn)
|
||||
conn.uncork();
|
||||
conn.uncork();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user