aboutsummaryrefslogtreecommitdiff
path: root/networking/telnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/telnet.c')
-rw-r--r--networking/telnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/telnet.c b/networking/telnet.c
index 71479fce4..d09a9d558 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -278,7 +278,7 @@ static void handlenetinput(int len)
break;
case TS_SUB1: /* Subnegotiation */
case TS_SUB2: /* Subnegotiation */
- if (subneg(c) == TRUE)
+ if (subneg(c))
G.telstate = TS_0;
break;
}