1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Trivial fix for assertion failure introduced by the config revamp.

Spotted by Leonid Lisovskiy.

[originally from svn r9236]
This commit is contained in:
Simon Tatham 2011-07-19 17:06:43 +00:00
parent 363f57396f
commit d690920710

View File

@ -426,7 +426,7 @@ static void process_subneg(Telnet telnet)
logevent(telnet->frontend, logbuf);
sfree(logbuf);
if (telnet->sb_opt == TELOPT_OLD_ENVIRON) {
if (conf_get_str(telnet->conf, CONF_rfc_environ)) {
if (conf_get_int(telnet->conf, CONF_rfc_environ)) {
value = RFC_VALUE;
var = RFC_VAR;
} else {