diff svr-chansession.c @ 359:78518751cb82 channel-fix

just shuffle some variables names about, a brief comment about the "bad writefd" problem
author Matt Johnston <matt@ucc.asn.au>
date Sun, 01 Oct 2006 16:35:13 +0000
parents 01e4180895ba
children 1c7bf9cec6c8
line wrap: on
line diff
--- a/svr-chansession.c	Mon Sep 11 11:22:52 2006 +0000
+++ b/svr-chansession.c	Sun Oct 01 16:35:13 2006 +0000
@@ -59,14 +59,14 @@
 		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 @@
 	0, /* sepfds */
 	"session", /* name */
 	newchansess, /* inithandler */
-	sesscheckclose, /* checkclosehandler */
+	sess_check_close, /* checkclosehandler */
 	chansessionrequest, /* reqhandler */
 	closechansess, /* closehandler */
 };