diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-08-22 16:22:08 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-08-27 11:27:44 +0200 |
commit | 3a8776a37af38127fb04565959e8e0e449eb04a4 (patch) | |
tree | 4318130063683b1eade484b5819b1e5a21a252ee /methods | |
parent | 09e9113887c5f1da3d0705221bf111ead331f96b (diff) | |
download | apt-3a8776a37af38127fb04565959e8e0e449eb04a4.tar.gz |
fix various typos reported by codespell
Reported-By: codespell
Diffstat (limited to 'methods')
-rw-r--r-- | methods/ftp.cc | 2 | ||||
-rw-r--r-- | methods/rsh.cc | 2 | ||||
-rw-r--r-- | methods/server.cc | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/methods/ftp.cc b/methods/ftp.cc index 1a9a1c4eb..d84a194ca 100644 --- a/methods/ftp.cc +++ b/methods/ftp.cc @@ -1072,7 +1072,7 @@ bool FtpMethod::Fetch(FetchItem *Itm) URIStart(Res); FailFile = Itm->DestFile; - FailFile.c_str(); // Make sure we dont do a malloc in the signal handler + FailFile.c_str(); // Make sure we don't do a malloc in the signal handler FailFd = Fd.Fd(); bool Missing; diff --git a/methods/rsh.cc b/methods/rsh.cc index 7ef2f7c7a..44aa7084d 100644 --- a/methods/rsh.cc +++ b/methods/rsh.cc @@ -504,7 +504,7 @@ bool RSHMethod::Fetch(FetchItem *Itm) URIStart(Res); FailFile = Itm->DestFile; - FailFile.c_str(); // Make sure we dont do a malloc in the signal handler + FailFile.c_str(); // Make sure we don't do a malloc in the signal handler FailFd = Fd.Fd(); bool Missing; diff --git a/methods/server.cc b/methods/server.cc index f61a6fedb..1c42c69c2 100644 --- a/methods/server.cc +++ b/methods/server.cc @@ -358,7 +358,7 @@ ServerMethod::DealWithHeaders(FetchResult &Res) } } - /* We have a reply we dont handle. This should indicate a perm server + /* We have a reply we don't handle. This should indicate a perm server failure */ if (Server->Result < 200 || Server->Result >= 300) { @@ -382,7 +382,7 @@ ServerMethod::DealWithHeaders(FetchResult &Res) return ERROR_NOT_FROM_SERVER; FailFile = Queue->DestFile; - FailFile.c_str(); // Make sure we dont do a malloc in the signal handler + FailFile.c_str(); // Make sure we don't do a malloc in the signal handler FailFd = File->Fd(); FailTime = Server->Date; |