summaryrefslogtreecommitdiff
path: root/methods/ftp.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-10-07 17:47:30 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-10-07 17:47:30 +0200
commitc48eea97b93920062ea26001081d4fdf7eb967e3 (patch)
tree84e5609e0f35579a8ccca029794555fd6c0bbc80 /methods/ftp.h
parentc86bc8515a3a195aa244a1743476b102d72c9a2a (diff)
make expected-size a maximum-size check as this is what we want at this point
Diffstat (limited to 'methods/ftp.h')
-rw-r--r--methods/ftp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/ftp.h b/methods/ftp.h
index 416a91980..a31ebc999 100644
--- a/methods/ftp.h
+++ b/methods/ftp.h
@@ -62,7 +62,7 @@ class FTPConn
bool Size(const char *Path,unsigned long long &Size);
bool ModTime(const char *Path, time_t &Time);
bool Get(const char *Path,FileFd &To,unsigned long long Resume,
- Hashes &MD5,bool &Missing, unsigned long long ExpectedSize);
+ Hashes &MD5,bool &Missing, unsigned long long MaximumSize);
FTPConn(URI Srv);
~FTPConn();