]> git.saurik.com Git - apt.git/blobdiff - methods/rsh.cc
add a way to add packages to generate a dists style environment without
[apt.git] / methods / rsh.cc
index f0ccfc42d2890513c0b5048943915da75afcc184..97b4ef1518b24e52a6229d2804a4d7a4dd1ce3df 100644 (file)
@@ -278,8 +278,7 @@ bool RSHConn::ModTime(const char *Path, time_t &Time)
       return false;
 
    // Parse it
       return false;
 
    // Parse it
-   StrToTime(Msg,Time);
-   return true;
+   return FTPMDTMStrToTime(Msg.c_str(), Time);
 }
                                                                        /*}}}*/
 // RSHConn::Get - Get a file                                           /*{{{*/
 }
                                                                        /*}}}*/
 // RSHConn::Get - Get a file                                           /*{{{*/