summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
Diffstat (limited to 'methods')
-rw-r--r--methods/ftp.cc2
-rw-r--r--methods/rsh.cc2
-rw-r--r--methods/server.cc4
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;