]> git.saurik.com Git - apt.git/blobdiff - methods/rsh.cc
* Treat the Important flag like the Essential flag with two differences:
[apt.git] / methods / rsh.cc
index da9777fc48f44634845253b94b6526bf3c18abc6..d249ae96102aa456e69faa60fb83ea26f43035d6 100644 (file)
@@ -305,7 +305,7 @@ bool RSHConn::Get(const char *Path,FileFd &To,unsigned long long Resume,
       return false;
 
    if (Resume != 0) {
-      if (Hash.AddFD(To.Fd(),Resume) == false) {
+      if (Hash.AddFD(To,Resume) == false) {
         _error->Errno("read",_("Problem hashing file"));
         return false;
       }