]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/uxproxy.c
Log the setup of proxied network connections.
[PuTTY.git] / unix / uxproxy.c
index be41487805ff38c04c2e32e514b44a48c99142e6..c66cda2e827b9455cd3e54f0205943cc49bc2385 100644 (file)
@@ -270,6 +270,12 @@ Socket platform_new_connection(SockAddr addr, const char *hostname,
     if (proxytype == PROXY_CMD) {
        cmd = format_telnet_command(addr, port, conf);
 
+        {
+            char *logmsg = dupprintf("Starting local proxy command: %s", cmd);
+            plug_log(plug, 2, NULL, 0, logmsg, 0);
+            sfree(logmsg);
+        }
+
        /*
         * Create the pipes to the proxy command, and spawn the proxy
         * command process.