summaryrefslogtreecommitdiff
path: root/methods/rsh.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/rsh.cc
parent550891457ff63db01b57d9057a5fe447a165e10c (diff)
move the users away from the deprecated StrToTime() method
Diffstat (limited to 'methods/rsh.cc')
-rw-r--r--methods/rsh.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/methods/rsh.cc b/methods/rsh.cc
index f0ccfc42d..97b4ef151 100644
--- a/methods/rsh.cc
+++ b/methods/rsh.cc
@@ -278,8 +278,7 @@ bool RSHConn::ModTime(const char *Path, time_t &Time)
return false;
// Parse it
- StrToTime(Msg,Time);
- return true;
+ return FTPMDTMStrToTime(Msg.c_str(), Time);
}
/*}}}*/
// RSHConn::Get - Get a file /*{{{*/