1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Yesterday's proxy enhancements also slightly nadgered the config

box, in that it started to expand under the weight of proxy options.
Now fixed, by folding the SOCKS version selector into the general
proxy type selector so there's one single 5- or 6-way radio button
set split over two lines. settings.c has of course grown a backwards
compatibility wart to deal with legacy config data.

[originally from svn r3168]
This commit is contained in:
Simon Tatham
2003-05-07 12:07:23 +00:00
parent ef53af1e8d
commit 8460ecd27d
6 changed files with 39 additions and 42 deletions

View File

@ -224,7 +224,8 @@ enum {
/*
* Proxy types.
*/
PROXY_NONE, PROXY_HTTP, PROXY_SOCKS, PROXY_TELNET, PROXY_CMD
PROXY_NONE, PROXY_SOCKS4, PROXY_SOCKS5,
PROXY_HTTP, PROXY_TELNET, PROXY_CMD
};
enum {
@ -338,7 +339,6 @@ struct config_tag {
char proxy_username[32];
char proxy_password[32];
char proxy_telnet_command[512];
int proxy_socks_version;
/* SSH options */
char remote_cmd[512];
char remote_cmd2[512]; /* fallback if the first fails