summaryrefslogtreecommitdiff
path: root/methods/rsh.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-07-30 19:29:44 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-07-30 19:29:44 +0200
commita521ca5d3fc6619529843779ea46500fa6e69e14 (patch)
treed6134e25dad5550e75768f8c9fbaabe75d81e541 /methods/rsh.cc
parent34904390bd6901f3de90249938baa0b875873534 (diff)
parent7abfcfbe8518d1b5cc79e967c3ac16c2f783d6ea (diff)
merged from experimental-apt-for-ubuntu
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 /*{{{*/