Merge branch 'master' of github.com:roundcube/roundcubemail

pull/73/head
Thomas Bruederli 12 years ago
commit 3bc871e113

@ -267,7 +267,12 @@ class Net_Socket extends PEAR
$this->timeout = $seconds + $microseconds/1000000;
}
return stream_set_timeout($this->fp, (int) $seconds, (int) $microseconds);
if ($this->timeout > 0) {
return stream_set_timeout($this->fp, (int) $seconds, (int) $microseconds);
}
else {
return false;
}
}
/**

Loading…
Cancel
Save