summaryrefslogtreecommitdiff
path: root/methods/rsh.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-03-31 18:35:21 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-03-31 18:35:21 +0000
commit06f02b954f5c4ca7cb9cc288ea5a8fcb6a1052d4 (patch)
treec13a240d862ab3f62121062d4961b75a63d01e97 /methods/rsh.cc
parent89eaeb446c24bbeacc5f69c170cf60104854432e (diff)
parent0edc7fba37048fa7c9833d664c4231ee9ad2be40 (diff)
* merged with matts tree
Patches applied: * apt@packages.debian.org/apt--main--0--patch-72 Open 0.6.36 * apt@packages.debian.org/apt--main--0--patch-73 Merge apt--mvo--0 * apt@packages.debian.org/apt--main--0--patch-74 Update changelog * apt@packages.debian.org/apt--main--0--patch-75 Merge bubulle@debian.org--2005/apt--main--0 * apt@packages.debian.org/apt--main--0--patch-76 Update changelog * bubulle@debian.org--2005/apt--main--0--patch-58 Correct file permissions * bubulle@debian.org--2005/apt--main--0--patch-59 Bring consistency to the use of capitals in programs messages * bubulle@debian.org--2005/apt--main--0--patch-60 Correct the permission change on configure.in * bubulle@debian.org--2005/apt--main--0--patch-61 Complete unfuzzification of PO files after the capitalization fixes * bubulle@debian.org--2005/apt--main--0--patch-62 Final work of capitalization cleaning and translation unfuzzyfication * bubulle@debian.org--2005/apt--main--0--patch-63 Correct the "arbitary" typo in apt-ftparchive * bubulle@debian.org--2005/apt--main--0--patch-64 Italian translation update * bubulle@debian.org--2005/apt--main--0--patch-65 Italian translation update
Diffstat (limited to 'methods/rsh.cc')
-rw-r--r--methods/rsh.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/methods/rsh.cc b/methods/rsh.cc
index ffd2b7dbd..f0ccfc42d 100644
--- a/methods/rsh.cc
+++ b/methods/rsh.cc
@@ -229,7 +229,7 @@ bool RSHConn::WriteMsg(string &Text,bool Sync,const char *Fmt,...)
int Res = write(WriteFd,S + Start,Len);
if (Res <= 0)
{
- _error->Errno("write",_("Write Error"));
+ _error->Errno("write",_("Write error"));
Close();
return false;
}
@@ -261,7 +261,7 @@ bool RSHConn::Size(const char *Path,unsigned long &Size)
char *End;
Size = strtoul(Msg.c_str(),&End,10);
if (End == Msg.c_str())
- return _error->Error(_("File Not Found"));
+ return _error->Error(_("File not found"));
return true;
}
/*}}}*/
@@ -430,7 +430,7 @@ bool RSHMethod::Fetch(FetchItem *Itm)
Server->ModTime(File,FailTime) == false)
{
//Fail(true);
- //_error->Error(_("File Not Found")); // Will be handled by Size
+ //_error->Error(_("File not found")); // Will be handled by Size
return false;
}
Res.Size = Size;