projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rename bb_default_error_retval -> xfunc_error_retval
[oweals/busybox.git]
/
networking
/
telnet.c
diff --git
a/networking/telnet.c
b/networking/telnet.c
index 344fc3270c72492c08524e4324ecaa010822c186..fd0f84d50f86ecfb4d18069dd931915e0eadd9fc 100644
(file)
--- a/
networking/telnet.c
+++ b/
networking/telnet.c
@@
-205,12
+205,12
@@
static void handlenetoutput(int len)
}
outbuf[j++] = *p;
if (*p == 0xff)
- outbuf[j++] = 0xff;
+
outbuf[j++] = 0xff;
else if (*p == 0x0d)
- outbuf[j++] = 0x00;
+
outbuf[j++] = 0x00;
}
if (j > 0 )
- write(G.netfd, outbuf, j);
+
write(G.netfd, outbuf, j);
}