Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/hakchi2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-04-11 22:02:12 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-04-11 22:02:12 +0300
commit8dca8a8b414d4f95c3bfce70ca91e6829679cf7a (patch)
treee913b481d004d603cc4dcd5aaf06dd98de228681 /Clovershell/ExecConnection.cs
parente4bf52d8057f6bd0f54b0c4581cc4085eae58a00 (diff)
Telnet server!
Diffstat (limited to 'Clovershell/ExecConnection.cs')
-rw-r--r--Clovershell/ExecConnection.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Clovershell/ExecConnection.cs b/Clovershell/ExecConnection.cs
index 913d07b3..2e682812 100644
--- a/Clovershell/ExecConnection.cs
+++ b/Clovershell/ExecConnection.cs
@@ -56,7 +56,7 @@ namespace com.clusterrr.clovershell
{
l = stdin.Read(buffer, 0, buffer.Length);
if (l > 0)
- connection.writeUsb(ClovershellConnection.ClovershellCommand.CMD_EXEC_STDIN, (byte)id, buffer, l);
+ connection.writeUsb(ClovershellConnection.ClovershellCommand.CMD_EXEC_STDIN, (byte)id, buffer, 0, l);
else
break;
LastDataTime = DateTime.Now;