Browse Source

Merge pull request #30 from d2g/patch-1

Copy Paste Error / Typo
Julien Laffaye 10 years ago
parent
commit
10cade7090
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ftp.go

+ 1 - 1
ftp.go

@@ -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
 	}