Merge pull request #30 from d2g/patch-1

Copy Paste Error / Typo
This commit is contained in:
Julien Laffaye 2015-04-23 22:56:49 +02:00
commit 10cade7090

2
ftp.go
View File

@ -185,7 +185,7 @@ func (c *ServerConn) pasv() (port int, err error) {
start := strings.Index(line, "(")
end := strings.LastIndex(line, ")")
if start == -1 || end == -1 {
err = errors.New("Invalid EPSV response format")
err = errors.New("Invalid PASV response format")
return
}