summaryrefslogtreecommitdiff
path: root/methods/ftp.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-06-09 00:53:44 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-06-09 00:53:44 +0200
commit96cc64a521957d63704de72ed95f1c839698c53c (patch)
treeb8b0366a3f1c970947e820cd244513cf3edd5497 /methods/ftp.cc
parent550891457ff63db01b57d9057a5fe447a165e10c (diff)
move the users away from the deprecated StrToTime() method
Diffstat (limited to 'methods/ftp.cc')
-rw-r--r--methods/ftp.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/methods/ftp.cc b/methods/ftp.cc
index 3e1725823..97248f900 100644
--- a/methods/ftp.cc
+++ b/methods/ftp.cc
@@ -661,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 /*{{{*/