diff options
Diffstat (limited to 'common-session.c')
-rw-r--r-- | common-session.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common-session.c b/common-session.c index 6ca7f54..d95c2ee 100644 --- a/common-session.c +++ b/common-session.c @@ -552,6 +552,11 @@ void update_channel_prio() { TRACE(("update_channel_prio")) + if (ses.sock_out < 0) { + TRACE(("leave update_channel_prio: no socket")) + return; + } + new_prio = DROPBEAR_PRIO_BULK; for (i = 0; i < ses.chansize; i++) { struct Channel *channel = ses.channels[i]; |