aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_jabber.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-07-14 22:57:29 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-07-14 22:57:29 +0000
commit78f4c392373fc451db4246588905f08b9d56a622 (patch)
treec135e949f0a2be475d9e41de9110a5761a72d51a /phpBB/includes/functions_jabber.php
parente3a6399c2281bae0f19ba9f3e5f49b02932bfeb7 (diff)
downloadforums-78f4c392373fc451db4246588905f08b9d56a622.tar
forums-78f4c392373fc451db4246588905f08b9d56a622.tar.gz
forums-78f4c392373fc451db4246588905f08b9d56a622.tar.bz2
forums-78f4c392373fc451db4246588905f08b9d56a622.tar.xz
forums-78f4c392373fc451db4246588905f08b9d56a622.zip
pass by reference change
git-svn-id: file:///svn/phpbb/trunk@4264 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_jabber.php')
-rw-r--r--phpBB/includes/functions_jabber.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/includes/functions_jabber.php b/phpBB/includes/functions_jabber.php
index aca7d39473..271bf98b7c 100644
--- a/phpBB/includes/functions_jabber.php
+++ b/phpBB/includes/functions_jabber.php
@@ -596,7 +596,7 @@ class Jabber
// _array_htmlspecialchars()
// applies htmlspecialchars() to all values in an array
- function _array_htmlspecialchars($array)
+ function _array_htmlspecialchars(&$array)
{
if (is_array($array))
{
@@ -948,10 +948,10 @@ class CJP_StandardConnector
function OpenSocket($server, $port)
{
- if ($this->active_socket = fsockopen($server, $port))
+ if ($this->active_socket = @fsockopen($server, $port, $err, $err2, 5))
{
- socket_set_blocking($this->active_socket, 0);
- socket_set_timeout($this->active_socket, 31536000);
+ @socket_set_blocking($this->active_socket, 0);
+ @socket_set_timeout($this->active_socket, 31536000);
return TRUE;
}
@@ -973,7 +973,7 @@ class CJP_StandardConnector
function ReadFromSocket($chunksize)
{
- $buffer = fread($this->active_socket, $chunksize);
+ $buffer = @fread($this->active_socket, $chunksize);
@set_magic_quotes_runtime(get_magic_quotes_gpc());
return $buffer;