From b587abb96f34bb4a5e0f4b05e46c0118eeff2274 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Thu, 3 Oct 2019 18:41:24 +0200 Subject: [PATCH] lib: fix typo in stream_base_commons.js Introduced in aa99a6ada86b96ff. PR-URL: https://github.com/nodejs/quic/pull/149 Reviewed-By: James M Snell --- lib/internal/stream_base_commons.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();