]> git.saurik.com Git - apt.git/blobdiff - methods/ftp.cc
evaluate Acquire::Languages= before LANG= (Closes: #602573)
[apt.git] / methods / ftp.cc
index eb398666f322bccd6eca2dde1287299f5b304efa..97248f900c8eaff56f46e721a6f4958e11576c20 100644 (file)
@@ -19,6 +19,7 @@
 #include <apt-pkg/acquire-method.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/hashes.h>
+#include <apt-pkg/netrc.h>
 
 #include <sys/stat.h>
 #include <sys/time.h>
@@ -660,8 +661,7 @@ bool FTPConn::ModTime(const char *Path, time_t &Time)
       return true;
    
    // Parse it
-   StrToTime(Msg,Time);
-   return true;
+   return FTPMDTMStrToTime(Msg.c_str(), Time);
 }
                                                                        /*}}}*/
 // FTPConn::CreateDataFd - Get a data connection                       /*{{{*/