telnet: fix uninitialized variable bug

function                                             old     new   delta
telnet_main                                         1236    1238      +2

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2019-09-25 13:48:01 +02:00
parent 11e024aa86
commit 65741d004e

View File

@ -248,7 +248,7 @@ static void handle_net_input(int len)
{
byte c;
int i;
int cstart = cstart; /* for compiler */
int cstart = 0;
i = 0;
//bb_error_msg("[%u,'%.*s']", G.telstate, len, G.buf);