]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixes for making Meteor working with HTTPS.
authorRoland Haeder <roland@mxchange.org>
Mon, 18 Aug 2014 19:59:25 +0000 (21:59 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 29 Mar 2020 22:20:15 +0000 (00:20 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
plugins/Meteor/MeteorPlugin.php

index 432769ef27f017e94f9b4ac1d9e001c98a0e0732..a5bbdc84d94c4746f9c042f281cb58a7b32a236e 100644 (file)
@@ -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);