From: simon Date: Tue, 19 Jul 2011 17:06:43 +0000 (+0000) Subject: Trivial fix for assertion failure introduced by the config revamp. X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/4f6e3bae2974de6b683e82d24af7c693fce4ffc3 Trivial fix for assertion failure introduced by the config revamp. Spotted by Leonid Lisovskiy. git-svn-id: svn://svn.tartarus.org/sgt/putty@9236 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/telnet.c b/telnet.c index 05c9bf64..7bdfedb6 100644 --- a/telnet.c +++ b/telnet.c @@ -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 {