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:
		@@ -248,7 +248,7 @@ static void handle_net_input(int len)
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	byte c;
 | 
						byte c;
 | 
				
			||||||
	int i;
 | 
						int i;
 | 
				
			||||||
	int cstart = cstart; /* for compiler */
 | 
						int cstart = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	i = 0;
 | 
						i = 0;
 | 
				
			||||||
	//bb_error_msg("[%u,'%.*s']", G.telstate, len, G.buf);
 | 
						//bb_error_msg("[%u,'%.*s']", G.telstate, len, G.buf);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user