diff options
author | Matt Johnston <matt@ucc.asn.au> | 2006-10-01 16:35:13 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2006-10-01 16:35:13 +0000 |
commit | 7e04c5e277665105cc9fe85bacb8f8e211722f02 (patch) | |
tree | 18fa29bb5123bad66c32875942c44a10bd41b5c9 /svr-chansession.c | |
parent | 33a182674a8c8735c17e627984bf49562aeb1370 (diff) |
just shuffle some variables names about, a brief comment
about the "bad writefd" problem
--HG--
branch : channel-fix
extra : convert_revision : f0b407c3d3e047ed83174e6f4ebd85a19352df5b
Diffstat (limited to 'svr-chansession.c')
-rw-r--r-- | svr-chansession.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svr-chansession.c b/svr-chansession.c index ea23fd3..03590b7 100644 --- a/svr-chansession.c +++ b/svr-chansession.c @@ -59,14 +59,14 @@ static void send_msg_chansess_exitstatus(struct Channel * channel, struct ChanSess * chansess); static void send_msg_chansess_exitsignal(struct Channel * channel, struct ChanSess * chansess); -static int sesscheckclose(struct Channel *channel); +static int sess_check_close(struct Channel *channel); static void get_termmodes(struct ChanSess *chansess); /* required to clear environment */ extern char** environ; -static int sesscheckclose(struct Channel *channel) { +static int sess_check_close(struct Channel *channel) { return channel->writefd == -1; } @@ -967,7 +967,7 @@ const struct ChanType svrchansess = { 0, /* sepfds */ "session", /* name */ newchansess, /* inithandler */ - sesscheckclose, /* checkclosehandler */ + sess_check_close, /* checkclosehandler */ chansessionrequest, /* reqhandler */ closechansess, /* closehandler */ }; |