summaryrefslogtreecommitdiffhomepage
path: root/channel.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-06-03 18:08:34 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-06-03 18:08:34 +0000
commitae1b0b07cf0bfe3e4d8694409bd490ba8c325b95 (patch)
tree0d633bc0b52ece436ca86ee84581ce7058984a31 /channel.h
parent9847cfe73d073e7986304915702ebb0e2f99eb15 (diff)
Fixed stupid agentfwd error (using the listening FD, not the accepted on. gah)
--HG-- extra : convert_revision : 27e793a6395dbf5f2c0aa130d37fad2e4ef67e01
Diffstat (limited to 'channel.h')
-rw-r--r--channel.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/channel.h b/channel.h
index b77a660..e1bdae2 100644
--- a/channel.h
+++ b/channel.h
@@ -50,12 +50,6 @@
#define RECV_MAXPACKET 1400 /* tweak */
#define RECV_MINWINDOW 19000 /* when we get below this, we send a windowadjust */
-/* a simpler way to define that we need code for listeners */
-#if !defined(DISABLE_X11FWD) || !defined(DISABLE_AUTHFWD) || \
- !defined(DISABLE_REMOTETCPFWD)
-#define USE_LISTENERS
-#endif
-
struct ChanType;
struct Channel {
@@ -113,7 +107,7 @@ void recv_msg_channel_window_adjust();
void recv_msg_channel_close();
void recv_msg_channel_eof();
-#ifdef USE_LISTENERS
+#ifdef USING_LISTENERS
int send_msg_channel_open_init(int fd, const struct ChanType *type);
void recv_msg_channel_open_confirmation();
void recv_msg_channel_open_failure();