# HG changeset patch # User Matt Johnston # Date 1106134864 0 # Node ID 8e68dbe8687bb1e469edb942e288dddc2f18aca9 # Parent a62cb364f6156e66d6104d2be6001afba9a8bcad put back 'return;' on empty terminal mode strings which was erroneously removed in 3a6c6eeefe450a64e244ee39030938ddaacb8987 diff -r a62cb364f615 -r 8e68dbe8687b svr-chansession.c --- a/svr-chansession.c Tue Jan 11 16:17:03 2005 +0000 +++ b/svr-chansession.c Wed Jan 19 11:41:04 2005 +0000 @@ -439,6 +439,7 @@ if (len == 0) { TRACE(("leave get_termmodes: empty terminal modes string")) + return; } while (((opcode = buf_getbyte(ses.payload)) != 0x00) && opcode <= 159) {