diff --git a/library/Requests/Transport/fsockopen.php b/library/Requests/Transport/fsockopen.php index 1a4493a79..6d4c41377 100755 --- a/library/Requests/Transport/fsockopen.php +++ b/library/Requests/Transport/fsockopen.php @@ -131,7 +131,7 @@ public function request($url, $headers = array(), $data = array(), $options = ar throw new Requests_Exception(rtrim($this->connect_error), 'fsockopen.connect_error'); } else { - throw new Requests_Exception($errstr, 'fsockopenerror'); + throw new Requests_Exception($errstr, 'fsockopenerror', NULL, $errno); return; } }