diff --git a/src/whois.client.php b/src/whois.client.php index 651f5d1..70004f4 100644 --- a/src/whois.client.php +++ b/src/whois.client.php @@ -194,7 +194,7 @@ class WhoisClient { while (!feof($ptr)) { - if (stream_select($r,$null,$null,$this->STIMEOUT)) + if (@stream_select($r,$null,$null,$this->STIMEOUT)!==false) { $raw .= fgets($ptr, $this->BUFFER); }