Fix #21 -- ssh client cannot issue commands to Tectia sshd server

Will work with Tectia server 6.3.6 and all Tectia ssh servers. Tested
with latest Tectia ssh server 6.4.12
This commit is contained in:
quamrulmina 2015-11-20 18:13:32 -06:00
parent 2923fc644f
commit 66426d7369

View File

@ -193,7 +193,7 @@ int ReadConsoleForTermEmul( HANDLE hInput, char *destin, int destinlen)
{
case 0xd:
if (pParams->nReceiveCRLF == ENUM_LF)
NetWriteString2(pParams->Socket, "\n", 1, 0);
NetWriteString2(pParams->Socket, "\r", 1, 0);
else
NetWriteString2(pParams->Socket, "\r\n", 2, 0);
break;