From 3a8776a37af38127fb04565959e8e0e449eb04a4 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sat, 22 Aug 2015 16:22:08 +0200 Subject: fix various typos reported by codespell Reported-By: codespell --- methods/ftp.cc | 2 +- methods/rsh.cc | 2 +- methods/server.cc | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'methods') 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; -- cgit v1.2.3