Skip to content

Commit c57726a

Browse files
committed
cleanup whitespace
1 parent b7776f4 commit c57726a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

lib/Net/Telnet.php

+7-6
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function recv()
7272
$data = null; // Bytes Read
7373
$mode = 'read';
7474
$send = null; // Bytes to Send as Reply
75-
75+
7676
$r = array($this->_s);
7777
$w = null;
7878
$e = null;
@@ -86,8 +86,8 @@ public function recv()
8686
default:
8787
die("Unknown $s");
8888
}
89-
90-
89+
90+
9191

9292
// while ($byte = $this->_recv()) {
9393
// // echo '.';
@@ -152,13 +152,14 @@ public function recv()
152152
// }
153153
// }
154154
// echo '+';
155-
$data .= $byte;
156-
}
155+
// $data .= $byte;
156+
// }
157+
157158
if (!empty($send)) {
158159
echo "To Send: " . bin2hex($send);
159160
fwrite($this->_s,$send);
160161
}
161-
162+
162163
// echo "Proper Return\n";
163164
// echo bin2hex($data) . "\n";
164165
return $data;

0 commit comments

Comments
 (0)