summaryrefslogtreecommitdiff
path: root/methods/mirror.cc
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2021-11-04 00:08:07 +0200
committerVille Skyttä <ville.skytta@iki.fi>2021-11-27 12:22:38 +0200
commit01eed4234440d82fc52c8186cf4268517bcd28bc (patch)
tree0a21bc964c35024494df59a1ee186520b61ca6eb /methods/mirror.cc
parent2662f6f255a2f1fee25632dc7666d4153bf5248c (diff)
Spelling fixes
Diffstat (limited to 'methods/mirror.cc')
-rw-r--r--methods/mirror.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/methods/mirror.cc b/methods/mirror.cc
index 5c4d341c2..5a34d8297 100644
--- a/methods/mirror.cc
+++ b/methods/mirror.cc
@@ -92,7 +92,7 @@ class MirrorMethod : public aptMethod /*{{{*/
virtual bool URIAcquire(std::string const &Message, FetchItem *Itm) APT_OVERRIDE;
void RedirectItem(MirrorListInfo const &info, FetchItem *const Itm, std::string const &Message);
- bool MirrorListFileRecieved(MirrorListInfo &info, FetchItem *const Itm);
+ bool MirrorListFileReceived(MirrorListInfo &info, FetchItem *const Itm);
std::string GetMirrorFileURI(std::string const &Message, FetchItem *const Itm);
void DealWithPendingItems(std::vector<std::string> const &baseuris, MirrorListInfo const &info, FetchItem *const Itm, std::function<void()> handler);
@@ -192,7 +192,7 @@ void MirrorMethod::DealWithPendingItems(std::vector<std::string> const &baseuris
delete Itm;
}
/*}}}*/
-bool MirrorMethod::MirrorListFileRecieved(MirrorListInfo &info, FetchItem *const Itm) /*{{{*/
+bool MirrorMethod::MirrorListFileReceived(MirrorListInfo &info, FetchItem *const Itm) /*{{{*/
{
std::vector<std::string> baseuris;
for (auto const &i : mirrorfilestate)
@@ -345,7 +345,7 @@ bool MirrorMethod::URIAcquire(std::string const &Message, FetchItem *Itm) /*{{{*
{
auto mirrorinfo = mirrorfilestate.find(Itm->Uri);
if (mirrorinfo != mirrorfilestate.end())
- return MirrorListFileRecieved(mirrorinfo->second, Itm);
+ return MirrorListFileReceived(mirrorinfo->second, Itm);
std::string const mirrorfileuri = GetMirrorFileURI(Message, Itm);
if (mirrorfileuri.empty())