diff channel.h @ 657:16af1decaf4c

- Merge
author Matt Johnston <matt@ucc.asn.au>
date Tue, 21 Feb 2012 23:00:30 +0800
parents 17962b2a6b8f
children 564e7f87ecc3
line wrap: on
line diff
--- a/channel.h	Tue Feb 21 22:57:19 2012 +0800
+++ b/channel.h	Tue Feb 21 23:00:30 2012 +0800
@@ -69,6 +69,10 @@
 	int sent_close, recv_close;
 	int recv_eof, sent_eof;
 
+	/* Set after running the ChanType-specific close hander
+	 * to ensure we don't run it twice (nor type->checkclose()). */
+	int close_handler_done;
+
 	int initconn; /* used for TCP forwarding, whether the channel has been
 					 fully initialised */