Merge remote branch 'github-ivan1986/master'
This commit is contained in:
Christian Weiske
2010-05-30 21:01:17 +02:00
2 changed files with 2 additions and 3 deletions

View File

@@ -465,8 +465,7 @@ class XMPPHP_XMLStream {
}
$part = fread($this->socket, 4096);
stream_set_blocking($this->socket, 1);
if (!$part) {
if ($part === false) {
if($this->reconnect) {
$this->doReconnect();
} else {