From ae1b0b07cf0bfe3e4d8694409bd490ba8c325b95 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Thu, 3 Jun 2004 18:08:34 +0000 Subject: Fixed stupid agentfwd error (using the listening FD, not the accepted on. gah) --HG-- extra : convert_revision : 27e793a6395dbf5f2c0aa130d37fad2e4ef67e01 --- channel.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'channel.h') 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(); -- cgit v1.2.3