rename bb_default_error_retval -> xfunc_error_retval
[oweals/busybox.git] / networking / telnet.c
index 5324d7a20141eba83041ff6c1821a7dbc3d57617..fd0f84d50f86ecfb4d18069dd931915e0eadd9fc 100644 (file)
@@ -185,9 +185,9 @@ static void handlenetoutput(int len)
         *      I don't agree.
         *      first - I cannot use programs like sz/rz
         *      second - the 0x0D is sent as one character and if the next
-        *               char is 0x0A then it's eaten by a server side.
+        *               char is 0x0A then it's eaten by a server side.
         *      third - whay doy you have to make 'many write()s'?
-        *              I don't understand.
+        *              I don't understand.
         *      So I implemented it. It's realy useful for me. I hope that
         *      others people will find it interesting to.
         */
@@ -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);
 }