X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/0ff9ea389c749836c7c6f23f1e654bc9a5600ebf..f7f9fb5cb0f779bc1a648b264805d7e12abc4260:/unix/uxplink.c diff --git a/unix/uxplink.c b/unix/uxplink.c index a62d34eb..5d3efb29 100644 --- a/unix/uxplink.c +++ b/unix/uxplink.c @@ -237,6 +237,13 @@ void sigwinch(int signum) } /* + * In Plink our selects are synchronous, so these functions are + * empty stubs. + */ +int uxsel_input_add(int fd, int rwx) { return 0; } +void uxsel_input_remove(int id) { } + +/* * Short description of parameters. */ static void usage(void) @@ -256,6 +263,7 @@ static void usage(void) printf(" -batch disable all interactive prompts\n"); printf("The following options only apply to SSH connections:\n"); printf(" -pw passw login with specified password\n"); + printf(" -D listen-port Dynamic SOCKS-based port forwarding\n"); printf(" -L listen-port:host:port Forward local port to " "remote address\n"); printf(" -R listen-port:host:port Forward remote port to" @@ -566,7 +574,7 @@ int main(int argc, char **argv) */ logctx = log_init(NULL, &cfg); { - char *error; + const char *error; char *realhost; /* nodelay is only useful if stdin is a terminal device */ int nodelay = cfg.tcp_nodelay && isatty(0);