mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48: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:
parent
363f57396f
commit
d690920710
2
telnet.c
2
telnet.c
@ -426,7 +426,7 @@ static void process_subneg(Telnet telnet)
|
|||||||
logevent(telnet->frontend, logbuf);
|
logevent(telnet->frontend, logbuf);
|
||||||
sfree(logbuf);
|
sfree(logbuf);
|
||||||
if (telnet->sb_opt == TELOPT_OLD_ENVIRON) {
|
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;
|
value = RFC_VALUE;
|
||||||
var = RFC_VAR;
|
var = RFC_VAR;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user