another ssh fix

This commit is contained in:
Andrew Pamment 2016-08-07 12:45:47 +10:00
parent 7b3063ca56
commit c6b92d60e7

3
bbs.c
View File

@ -207,10 +207,11 @@ char s_getchar() {
c = getchar();
} else {
len = read(gSocket, &c, 1);
}
if (len == 0) {
disconnect("Socket Closed");
}
}
if (!sshBBS) {
while (c == 255) {