Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/libs/Zend
diff options
context:
space:
mode:
authorrobocoder <anthon.pang@gmail.com>2012-03-01 06:28:45 +0400
committerrobocoder <anthon.pang@gmail.com>2012-03-01 06:28:45 +0400
commit7c6aaacdd145b6843a46e014f935dc455e0b2326 (patch)
treebb10adba8028cdf4a87f4428704c9baba2f1341f /libs/Zend
parentcee660bc4c8130d2350da412623ecff00978204b (diff)
fixes #2988 (ZF-10871) - uninitialized variables when socket functions are disabled by php config
git-svn-id: http://dev.piwik.org/svn/trunk@5944 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'libs/Zend')
-rw-r--r--libs/Zend/Http/Client/Adapter/Socket.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/Zend/Http/Client/Adapter/Socket.php b/libs/Zend/Http/Client/Adapter/Socket.php
index fd435a9c53..d77e9619b3 100644
--- a/libs/Zend/Http/Client/Adapter/Socket.php
+++ b/libs/Zend/Http/Client/Adapter/Socket.php
@@ -222,6 +222,7 @@ class Zend_Http_Client_Adapter_Socket implements Zend_Http_Client_Adapter_Interf
$flags = STREAM_CLIENT_CONNECT;
if ($this->config['persistent']) $flags |= STREAM_CLIENT_PERSISTENT;
+ $errno = $errstr = '';
$this->socket = @stream_socket_client($host . ':' . $port,
$errno,
$errstr,