[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit c7b35efb2a753d1a9e2cb119c780b5679bab7ca6
Author: Alex Catarineu <acat@xxxxxxxxxxxxxx>
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);
       }
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits