another ssh fix
This commit is contained in:
parent
7b3063ca56
commit
c6b92d60e7
3
bbs.c
3
bbs.c
@ -207,10 +207,11 @@ char s_getchar() {
|
|||||||
c = getchar();
|
c = getchar();
|
||||||
} else {
|
} else {
|
||||||
len = read(gSocket, &c, 1);
|
len = read(gSocket, &c, 1);
|
||||||
}
|
|
||||||
if (len == 0) {
|
if (len == 0) {
|
||||||
disconnect("Socket Closed");
|
disconnect("Socket Closed");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!sshBBS) {
|
if (!sshBBS) {
|
||||||
while (c == 255) {
|
while (c == 255) {
|
||||||
|
Reference in New Issue
Block a user