documentation work and a bug fix

This commit is contained in:
Andrew Pamment
2018-08-13 14:07:21 +10:00
parent 26e753caa3
commit 4cf5596737
6 changed files with 120 additions and 3 deletions

View File

@@ -447,7 +447,7 @@ char s_getchar() {
}
if (c == IAC_WILL || c == IAC_WONT || c == IAC_DO || c == IAC_DONT) {
do {
len = read(gSocket, &c, 1);
len = read(gSocket, &d, 1);
} while (len == -1 && errno == EINTR);
if (len <= 0) {
disconnect("Socket Closed");