aboutsummaryrefslogtreecommitdiff
path: root/networking/telnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/telnet.c')
-rw-r--r--networking/telnet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/telnet.c b/networking/telnet.c
index 344fc3270..fd0f84d50 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -205,12 +205,12 @@ static void handlenetoutput(int len)
205 } 205 }
206 outbuf[j++] = *p; 206 outbuf[j++] = *p;
207 if (*p == 0xff) 207 if (*p == 0xff)
208 outbuf[j++] = 0xff; 208 outbuf[j++] = 0xff;
209 else if (*p == 0x0d) 209 else if (*p == 0x0d)
210 outbuf[j++] = 0x00; 210 outbuf[j++] = 0x00;
211 } 211 }
212 if (j > 0 ) 212 if (j > 0 )
213 write(G.netfd, outbuf, j); 213 write(G.netfd, outbuf, j);
214} 214}
215 215
216 216