When an error reply (not 1xx, 2xx or 3xx) was received, ftp_reply() invoked ftp_done() to close connections, but did not return, and the rest of code in this function could try to send commands to the closed control connection. Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>tags/v0.9.4
				
				
			 | 
		||
| 221 | 221 | 
				
				
			 | 
		
| 222 | 222 | 
				
				
			 | 
		
| 223 | 223 | 
				
				
			 | 
		
| 224 | 
				
				
			 | 
		|
| 224 | 225 | 
				
				
			 | 
		
| 225 | 226 | 
				
				
			 | 
		
| 226 | 227 | 
				
				
			 |