diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-01-05 20:20:24 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-01-05 20:20:24 +0100 |
commit | 570590c0640f71c98893051420517894be8eb6eb (patch) | |
tree | 563eeacf3aa349c1c7366c073cfb99348ab1c6a8 /methods/ftp.cc | |
parent | b7c7eb099c8d228935f9c3fa0a7c788a4018bfb1 (diff) | |
parent | 5c6ceb4557cb6497dea827d1ec4e2615ccd53e50 (diff) |
merged from debian-experimental2
Diffstat (limited to 'methods/ftp.cc')
-rw-r--r-- | methods/ftp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/ftp.cc b/methods/ftp.cc index 2ca0ac6f7..ad8a7b828 100644 --- a/methods/ftp.cc +++ b/methods/ftp.cc @@ -868,7 +868,7 @@ bool FTPConn::Get(const char *Path,FileFd &To,unsigned long long Resume, if (Resume != 0) { - if (Hash.AddFD(To.Fd(),Resume) == false) + if (Hash.AddFD(To,Resume) == false) { _error->Errno("read",_("Problem hashing file")); return false; |