Merge pull request #8 from dsluis/master
Changing expected status response for Logout call
This commit is contained in:
		
						commit
						a5b2614a99
					
				
							
								
								
									
										2
									
								
								ftp.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								ftp.go
									
									
									
									
									
								
							@ -503,7 +503,7 @@ func (c *ServerConn) NoOp() error {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
// Logout issues a REIN FTP command to logout the current user.
 | 
					// Logout issues a REIN FTP command to logout the current user.
 | 
				
			||||||
func (c *ServerConn) Logout() error {
 | 
					func (c *ServerConn) Logout() error {
 | 
				
			||||||
	_, _, err := c.cmd(StatusLoggedIn, "REIN")
 | 
						_, _, err := c.cmd(StatusReady, "REIN")
 | 
				
			||||||
	return err
 | 
						return err
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user