X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=Uplink%2FClient.class.php;h=8a38610dba6870d5fa961f8c9acb6073b5df6da0;hb=74fcc85514c9bd0a4a8dfbd909d9555a9f1ee5b8;hp=c7ecc4cf40440bf942ccac22cd9d0003288a8510;hpb=642e5fa114096506072cbc9ef6f16e31eecd7abf;p=PHP-P10.git diff --git a/Uplink/Client.class.php b/Uplink/Client.class.php index c7ecc4c..8a38610 100644 --- a/Uplink/Client.class.php +++ b/Uplink/Client.class.php @@ -107,7 +107,7 @@ class Client { while(($line = @fgets($this->socket)) != null) { $line=trim($line); if(!empty($line)) { - if(DEBUG_RAW) echo"[recv] ".$line."\n"; + echo"[recv] ".$line."\n"; $this->traffic['in'] += strlen($line); $lines[] = $line; if(count($lines) >= self::CLIENT_RECV_MAX_LINES) break; @@ -120,7 +120,7 @@ class Client { public function send($line, $newline = "\r\n") { if($this->socket == null) return; - if(DEBUG_RAW) echo"[send] ".$line."\n"; + echo"[send] ".$line."\n"; $this->traffic['out'] += strlen($line); fwrite($this->socket,$line.$newline); }