Skip to content

Commit

Permalink
This should fix bug #1291 (fsockopen() errors) though I can't recreat…
Browse files Browse the repository at this point in the history
…e it.
  • Loading branch information
gsnedders committed Dec 1, 2007
1 parent bfcfeb2 commit b2750a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simplepie.inc
Expand Up @@ -7683,7 +7683,7 @@ class SimplePie_File
{
$url_parts['port'] = 80;
}
$fp = fsockopen($url_parts['host'], $url_parts['port'], $errno, $errstr, $timeout);
$fp = @fsockopen($url_parts['host'], $url_parts['port'], $errno, $errstr, $timeout);
if (!$fp)
{
$this->error = 'fsockopen error: ' . $errstr;
Expand Down

0 comments on commit b2750a3

Please sign in to comment.