Fix ftp client's passive mode.
Before the ioctl the code zeroed the wrong variable.
This commit is contained in:
		
							parent
							
								
									ed0b81c25c
								
							
						
					
					
						commit
						0a42d36ac6
					
				@ -352,7 +352,7 @@ int wasopen;
 | 
			
		||||
 | 
			
		||||
   if(passive) {
 | 
			
		||||
   	/* passive mode we connect to them */
 | 
			
		||||
	tcplopt.nwtcl_flags = 0;
 | 
			
		||||
	tcpcopt.nwtcl_flags = 0;
 | 
			
		||||
#ifdef DEBUG
 | 
			
		||||
	printf("Doing TCPCONN\n");
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user