wasn't sending IAC SE..oops

This commit is contained in:
Kelvin Sherlock 2013-08-21 00:25:30 -04:00
parent f3b42ae2c8
commit cc7c10c1ee

View File

@ -203,7 +203,7 @@ static int cnt;
IAC, SE
};
TCPIPWriteTCP(ipid, msg,
sizeof(msg) -1, true, false);
sizeof(msg), true, false);
}
else if (buffer[0] == TELOPT_NAWS
&& buffer[1] == TELQUAL_SEND)
@ -215,8 +215,7 @@ static int cnt;
IAC, SE
};
TCPIPWriteTCP(ipid, msg,
sizeof(msg) - 1, true, false);
sizeof(msg), true, false);
}
cnt = 0;