diff --git a/lib/internal/stream_base_commons.js b/lib/internal/stream_base_commons.js index c96da58ba1..917acd5c27 100644 --- a/lib/internal/stream_base_commons.js +++ b/lib/internal/stream_base_commons.js @@ -149,7 +149,7 @@ function afterWriteDispatched(self, req, err) { if (err !== 0) return self.destroy( errnoException(err, 'write', req.error), - req.callback()); + req.callback); if (!req.async && typeof req.callback === 'function') { req.callback();