Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add suppression flag to fsockopen call to quiet unnecessary warnings. #9

Merged
merged 1 commit into from

2 participants

@jeremylivingston
Collaborator

I have added the suppression flag to the fsockopen() call to prevent the noise that these warnings call. This addresses #8.

Please let me know if you have any questions.
Thanks!

@beryllium beryllium merged commit e16fb88 into beryllium:master
@beryllium
Owner

Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
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 )
{
Something went wrong with that request. Please try again.