From: Roland Haeder Date: Mon, 18 Aug 2014 19:59:25 +0000 (+0200) Subject: Fixes for making Meteor working with HTTPS. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=63ce36811552b6abb4e1843b066bab33b4a16c01;p=quix0rs-gnu-social.git Fixes for making Meteor working with HTTPS. Signed-off-by: Roland Haeder --- diff --git a/plugins/Meteor/MeteorPlugin.php b/plugins/Meteor/MeteorPlugin.php index 432769ef27..a5bbdc84d9 100644 --- a/plugins/Meteor/MeteorPlugin.php +++ b/plugins/Meteor/MeteorPlugin.php @@ -120,7 +120,9 @@ class MeteorPlugin extends RealtimePlugin $errno = $errstr = null; $timeout = 5; $flags = STREAM_CLIENT_CONNECT; - if ($this->persistent) $flags |= STREAM_CLIENT_PERSISTENT; + if ($this->persistent) { + $flags |= STREAM_CLIENT_PERSISTENT; + } // May throw an exception. $this->_socket = stream_socket_client("tcp://{$controlserver}:{$this->controlport}", $errno, $errstr, $timeout, $flags);