Browse files

Merge pull request #9 from jeremylivingston/fsock-warning

Add suppression flag to fsockopen call to quiet unnecessary warnings.
  • Loading branch information...
2 parents b0898ed + 1b304e8 commit e16fb882b53865418a22dffc4bb97010800945b1 @beryllium committed Feb 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Client/MemcacheClient.php
View
2 Client/MemcacheClient.php
@@ -107,7 +107,7 @@ public function probeServer( $ip, $port )
{
$errno = null;
$errstr = null;
- $fp = fsockopen( $ip, $port, $errno, $errstr, $this->sockttl );
+ $fp = @fsockopen( $ip, $port, $errno, $errstr, $this->sockttl );
if ( $fp )
{

0 comments on commit e16fb88

Please sign in to comment.