Skip to content

Commit

Permalink
fix(ftp): nil pointer dereference (close #1722)
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Sep 20, 2022
1 parent 9181861 commit 656f5f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/ftp/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ func (d *FTP) login() error {
if err != nil {
return err
}
d.conn = conn
return nil
}

0 comments on commit 656f5f1

Please sign in to comment.