diff options
Diffstat (limited to 'nchan.c')
-rw-r--r-- | nchan.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: nchan.c,v 1.49 2003/08/29 10:04:36 markus Exp $"); | 26 | RCSID("$OpenBSD: nchan.c,v 1.50 2004/06/21 17:36:31 avsm Exp $"); |
27 | 27 | ||
28 | #include "ssh1.h" | 28 | #include "ssh1.h" |
29 | #include "ssh2.h" | 29 | #include "ssh2.h" |
@@ -395,7 +395,7 @@ chan_mark_dead(Channel *c) | |||
395 | } | 395 | } |
396 | 396 | ||
397 | int | 397 | int |
398 | chan_is_dead(Channel *c, int send) | 398 | chan_is_dead(Channel *c, int do_send) |
399 | { | 399 | { |
400 | if (c->type == SSH_CHANNEL_ZOMBIE) { | 400 | if (c->type == SSH_CHANNEL_ZOMBIE) { |
401 | debug2("channel %d: zombie", c->self); | 401 | debug2("channel %d: zombie", c->self); |
@@ -416,7 +416,7 @@ chan_is_dead(Channel *c, int send) | |||
416 | return 0; | 416 | return 0; |
417 | } | 417 | } |
418 | if (!(c->flags & CHAN_CLOSE_SENT)) { | 418 | if (!(c->flags & CHAN_CLOSE_SENT)) { |
419 | if (send) { | 419 | if (do_send) { |
420 | chan_send_close2(c); | 420 | chan_send_close2(c); |
421 | } else { | 421 | } else { |
422 | /* channel would be dead if we sent a close */ | 422 | /* channel would be dead if we sent a close */ |