summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2017-01-19 15:14:19 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2017-01-19 15:59:38 +0100
commit93cff633a830e222693fc0f3d78e6e534d1126ee (patch)
tree2606a090e446e9b938e349b85aa62c3d8417c21c /methods
parent99b1cdd3a07576542c8bda40d93368f3f76db912 (diff)
fix various typos reported by spellintian
Most of them in (old) code comments. The two instances of user visible string changes the po files of the manpages are fixed up as well. Gbp-Dch: Ignore Reported-By: spellintian
Diffstat (limited to 'methods')
-rw-r--r--methods/basehttp.cc4
-rw-r--r--methods/ftp.cc4
-rw-r--r--methods/gpgv.cc2
3 files changed, 5 insertions, 5 deletions
diff --git a/methods/basehttp.cc b/methods/basehttp.cc
index 74d641ef2..c88e62f46 100644
--- a/methods/basehttp.cc
+++ b/methods/basehttp.cc
@@ -443,7 +443,7 @@ BaseHttpMethod::DealWithHeaders(FetchResult &Res, RequestState &Req)
// BaseHttpMethod::SigTerm - Handle a fatal signal /*{{{*/
// ---------------------------------------------------------------------
/* This closes and timestamps the open file. This is necessary to get
- resume behavoir on user abort */
+ resume behavior on user abort */
void BaseHttpMethod::SigTerm(int)
{
if (FailFd == -1)
@@ -585,7 +585,7 @@ int BaseHttpMethod::Loop()
if (Server->IsOpen() == false)
QueueBack = Queue;
- // Connnect to the host
+ // Connect to the host
if (Server->Open() == false)
{
Fail(true);
diff --git a/methods/ftp.cc b/methods/ftp.cc
index dbc5f25d1..d789637a8 100644
--- a/methods/ftp.cc
+++ b/methods/ftp.cc
@@ -6,7 +6,7 @@
FTP Acquire Method - This is the FTP acquire method for APT.
This is a very simple implementation that does not try to optimize
- at all. Commands are sent syncronously with the FTP server (as the
+ at all. Commands are sent synchronously with the FTP server (as the
rfc recommends, but it is not really necessary..) and no tricks are
done to speed things along.
@@ -974,7 +974,7 @@ FtpMethod::FtpMethod() : aptMethod("ftp","1.0",SendConfig)
// FtpMethod::SigTerm - Handle a fatal signal /*{{{*/
// ---------------------------------------------------------------------
/* This closes and timestamps the open file. This is necessary to get
- resume behavoir on user abort */
+ resume behavior on user abort */
void FtpMethod::SigTerm(int)
{
if (FailFd == -1)
diff --git a/methods/gpgv.cc b/methods/gpgv.cc
index 95a86f890..51c268d02 100644
--- a/methods/gpgv.cc
+++ b/methods/gpgv.cc
@@ -120,7 +120,7 @@ static void PushEntryWithKeyID(std::vector<std::string> &Signers, char * const b
// skip the message
while (*p && !isspace(*p))
++p;
- // skip the seperator whitespace
+ // skip the separator whitespace
++p;
// skip the hexdigit fingerprint
while (*p && isxdigit(*p))