[tor-commits] [torbutton/master] Bug 40042: Add missing parameter of createTransport

sysrqb at torproject.org sysrqb at torproject.org
Fri Aug 27 20:52:54 UTC 2021


commit 9ec2e841a778cda4dabd38e6198ab8f0dfced4fc
Author: Matthew Finkel <sysrqb at torproject.org>
Date:   Wed Aug 25 15:18:06 2021 +0000

    Bug 40042: Add missing parameter of createTransport
---
 modules/tor-control-port.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/tor-control-port.js b/modules/tor-control-port.js
index 7891f0ee..4215c763 100644
--- a/modules/tor-control-port.js
+++ b/modules/tor-control-port.js
@@ -55,7 +55,7 @@ io.asyncSocketStreams = function (ipcFile, host, port) {
   if (ipcFile) {
     socketTransport = sts.createUnixDomainTransport(ipcFile);
   } else {
-    socketTransport = sts.createTransport([], host, port, null);
+    socketTransport = sts.createTransport([], host, port, null, null);
   }
 
   // Open unbuffered asynchronous outputStream.





More information about the tor-commits mailing list