else {
if (($buf = fread($sock, 512)) === FALSE) {
printf("error read\n");
- exit(123);
}
else if (strlen($buf) === 0) {
if ($sock === $this->list) {
}
}
else {
- if ($debug > 1) {
+ if ($this->debug > 1) {
print_r($read);
}
if ($sock === $this->list) {