]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - cmdline.c
Rework handling of asynchronous connect(2) errors on Unix.
[PuTTY.git] / cmdline.c
index 92c87b3b797b61da4cd5a171699983377d10cc88..e6b69073a2e236a3121e9649d07657e42bacd2af 100644 (file)
--- a/cmdline.c
+++ b/cmdline.c
@@ -601,6 +601,14 @@ int cmdline_process_param(const char *p, char *value,
         filename_free(fn);
     }
 
+    if (!strcmp(p, "-proxycmd")) {
+       RETURN(2);
+       UNAVAILABLE_IN(TOOLTYPE_NONNETWORK);
+       SAVEABLE(0);
+        conf_set_int(conf, CONF_proxy_type, PROXY_CMD);
+       conf_set_str(conf, CONF_proxy_telnet_command, value);
+    }
+
     return ret;                               /* unrecognised */
 }