put back 'return;' on empty terminal mode strings which was erroneously

removed in 3a6c6eeefe450a64e244ee39030938ddaacb8987

--HG--
extra : convert_revision : 75ed8083a683ebdb2fceca4a856d803fdeeb60af
This commit is contained in:
Matt Johnston 2005-01-19 11:41:04 +00:00
parent b7dbb29e68
commit 6013d993b9

View File

@ -439,6 +439,7 @@ static void get_termmodes(struct ChanSess *chansess) {
if (len == 0) {
TRACE(("leave get_termmodes: empty terminal modes string"))
return;
}
while (((opcode = buf_getbyte(ses.payload)) != 0x00) && opcode <= 159) {