summaryrefslogtreecommitdiff
path: root/methods/rsh.cc
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@debian.org>2005-03-30 23:36:25 +0000
committerOtavio Salvador <otavio@debian.org>2005-03-30 23:36:25 +0000
commit54debba5d21783160e78706f6c21b274ca4b805b (patch)
tree2d7f87d6c6e97d2e3b34b7632741bd128b81b917 /methods/rsh.cc
parent42ac13b328d84f385fbe09740a6bbf65f9d9b073 (diff)
parentb81af2c2bb8a4b41b8adbb1c351fbd0964542558 (diff)
Sync with apt@packages.debian.org/apt--main--0--patch-75
Patches applied: * apt@packages.debian.org/apt--main--0--patch-75 Merge bubulle@debian.org--2005/apt--main--0 * 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;