Commit 89db1e89 authored by Alex Catarineu's avatar Alex Catarineu Committed by Georg Koppen
Browse files

Bug 33862: Fix usages of createTransport API

There was a nsISocketTransportService breaking change in
https://bugzilla.mozilla.org/show_bug.cgi?id=1558726.
parent 11a79a1c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -704,7 +704,7 @@ function torbutton_send_ctrl_cmd(command) {
    if (m_tb_control_ipc_file) {
      socket = sts.createUnixDomainTransport(m_tb_control_ipc_file);
    } else {
      socket = sts.createTransport(null, 0, m_tb_control_host,
      socket = sts.createTransport([], m_tb_control_host,
                                   m_tb_control_port, null);
    }

+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ io.asyncSocketStreams = function (ipcFile, host, port) {
  if (ipcFile) {
    socketTransport = sts.createUnixDomainTransport(ipcFile);
  } else {
    socketTransport = sts.createTransport(null, 0, host, port, null);
    socketTransport = sts.createTransport([], host, port, null);
  }

  // Open unbuffered asynchronous outputStream.