diff options
author | marha <marha@users.sourceforge.net> | 2012-11-09 12:31:43 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-11-09 12:31:43 +0100 |
commit | 480a7a0a6c9a8fae5b8fc7b7688173d5e425ae0e (patch) | |
tree | 0b6908caf655de903727499e279a6b87ffb886c8 /xorg-server/hw/xwin/xlaunch/config.cc | |
parent | e679303a065ecf6e961993c4fe169950c101c08c (diff) | |
download | vcxsrv-480a7a0a6c9a8fae5b8fc7b7688173d5e425ae0e.tar.gz vcxsrv-480a7a0a6c9a8fae5b8fc7b7688173d5e425ae0e.tar.bz2 vcxsrv-480a7a0a6c9a8fae5b8fc7b7688173d5e425ae0e.zip |
Allow specifying a key file in putty format when starting a remote program
Now plink is a real console application in the release build (no -console
option anymore)
Diffstat (limited to 'xorg-server/hw/xwin/xlaunch/config.cc')
-rw-r--r-- | xorg-server/hw/xwin/xlaunch/config.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xorg-server/hw/xwin/xlaunch/config.cc b/xorg-server/hw/xwin/xlaunch/config.cc index c7ac398fb..fc268e2e8 100644 --- a/xorg-server/hw/xwin/xlaunch/config.cc +++ b/xorg-server/hw/xwin/xlaunch/config.cc @@ -83,6 +83,7 @@ void CConfig::Save(const char *filename) setAttribute(root, "LocalProgram", localprogram.c_str());
setAttribute(root, "RemoteProgram", remoteprogram.c_str());
setAttribute(root, "RemotePassword", remotepassword.c_str());
+ setAttribute(root, "PrivateKey", privatekey.c_str());
setAttribute(root, "RemoteHost", host.c_str());
setAttribute(root, "RemoteUser", user.c_str());
setAttribute(root, "XDMCPHost", xdmcp_host.c_str());
@@ -174,6 +175,7 @@ void CConfig::Load(const char *filename) getAttribute(root, "LocalProgram", localprogram);
getAttribute(root, "RemoteProgram", remoteprogram);
getAttribute(root, "RemotePassword", remotepassword);
+ getAttribute(root, "PrivateKey", privatekey);
getAttribute(root, "RemoteHost", host);
getAttribute(root, "RemoteUser", user);
getAttribute(root, "XDMCPHost", xdmcp_host);
|