[tbb-commits] [tor-launcher/master] Bug 33862: Fix usages of createTransport API

gk at torproject.org gk at torproject.org
Wed Jun 10 18:57:54 UTC 2020


commit c7b35efb2a753d1a9e2cb119c780b5679bab7ca6
Author: Alex Catarineu <acat at torproject.org>
Date:   Thu Apr 9 13:05:27 2020 +0200

    Bug 33862: Fix usages of createTransport API
    
    There was a nsISocketTransportService breaking change in
    https://bugzilla.mozilla.org/show_bug.cgi?id=1558726.
---
 src/components/tl-protocol.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/tl-protocol.js b/src/components/tl-protocol.js
index d6df319..0e8075a 100644
--- a/src/components/tl-protocol.js
+++ b/src/components/tl-protocol.js
@@ -765,7 +765,7 @@ TorProtocolService.prototype =
       {
         TorLauncherLogger.log(2, "Opening control connection to " +
                                  this.mControlHost + ":" + this.mControlPort);
-        socket = sts.createTransport(null, 0, this.mControlHost,
+        socket = sts.createTransport([], this.mControlHost,
                                      this.mControlPort, null);
       }
 





More information about the tbb-commits mailing list