[patch] Spelling fixes

Christoph Biedl cbiedl at gmx.de
Mon Apr 23 18:23:20 UTC 2018


Hello,

finally I started converting my sloppyly distributed inn2 installations
into packages. Along the way, Debian's packaging checker reported quite
a lot of spelling errors, I'm attaching a patch below to change that.
As I'm not an English speaker: Please check for possible false
positives. Most prominentely, I'm not really convinced about changing
"allows to" into "allows one to", same for "permits".

Cheers,

    Christoph

diff --git a/ChangeLog b/ChangeLog
index 8a4cd11..ce14b5d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -94,7 +94,7 @@
 	  like MD5 whereas gpgv no longer do.
 	  
 	  Thanks to Thomas Hochstein for the patch (for pgpverify), which
-	  permits to validate control articles for hierarchies that are
+	  permits one to validate control articles for hierarchies that are
 	  still using old PGP keys.
 	  
 	  Also add autoconf magic to detect new $INN::Config::gpg variable
@@ -368,7 +368,7 @@
 
 	* Add support for a new syntaxchecks parameter in inn.conf
 	  
-	  This parameter permits to control the level of checks performed
+	  This parameter permits one to control the level of checks performed
 	  by innd and nnrpd. Up to now, only one check can be
 	  enabled/disabled: when "laxmid" is mentioned in the values of
 	  this new parameter, INN accepts Message-IDs that contain ".." in
diff --git a/INSTALL b/INSTALL
index 42494a1..6a1c764 100644
--- a/INSTALL
+++ b/INSTALL
@@ -480,7 +480,7 @@ Installing INN
     compiled into INN; it's used primarily in some situations like building
     a software distribution, where software has to be installed into some
     file system that will later be mounted as / on the final system.  Using
-    DESTDIR permits to build INN, install it into a virtual root directory,
+    DESTDIR permits one to build INN, install it into a virtual root directory,
     and package the resulting files in a single step, without manual
     intervention, by a non-root user.  It is possible to build and install
     INN in this way, but you must set a DESTDIR value for the install step,
diff --git a/NEWS b/NEWS
index 7bbf78b..ab71c9c 100644
--- a/NEWS
+++ b/NEWS
@@ -76,7 +76,7 @@ Changes in 2.6.1
       with the best current practices for a secure use of TLS in application
       protocols like NNTP.  Using the new COMPRESS command is recommended.
 
-    * The *tlscompression* parameter in inn.conf now also permits to disable
+    * The *tlscompression* parameter in inn.conf now also permits one to disable
       TLS-level compression with OpenSSL 0.9.8.  It previously had an effect
       only when OpenSSL 1.0.0 or later was used.
 
@@ -307,7 +307,7 @@ Changes in 2.6.0
       to a new getc-tap-harness script in the support directory that
       automatically fetches the latest upstream changes.
 
-      Similarly, the new getrra-c-util script permits to keep most of the
+      Similarly, the new getrra-c-util script permits one to keep most of the
       utility and portability functions synchronized with the upstream
       version of the rra-c-util package maintained by Russ Allbery.
 
@@ -318,7 +318,7 @@ Changes in 2.5.5
     * New inn.conf parameters used by nnrpd to fine-tune the TLS/SSL
       configuration have been added:  *tlsciphers*, *tlscompression*,
       *tlseccurve*, *tlspreferserverciphers*, and *tlsprotocols*.  Many
-      thanks to Christian Mock for his contribution that permits to tighten
+      thanks to Christian Mock for his contribution that permits one to tighten
       the level of security provided by TLS/SSL.
 
     * innwatch no longer creates a child process only for sleeping and then
@@ -536,7 +536,7 @@ Changes in 2.5.3
     * It is now possible to properly generate daily statistics with
       sendinpaths thanks to the new -k and -r flags that permit to control
       the interval of days for processing dump files.  The new -c flag
-      permits to send a copy of the generated e-mail to the newsmaster.
+      permits one to send a copy of the generated e-mail to the newsmaster.
 
       Also fixed an issue with statistics that could be missing or
       duplicated for a couple of days when monthly sent.
@@ -1226,7 +1226,7 @@ Changes in 2.5.0
       especially checkgroups:  the active and newsgroups files are now
       properly updated when they are processed, and all matching lines in
       control.ctl for a given checkgroups are honoured (which for instance
-      allows to use both drop and doit actions for the same checkgroups
+      allows one to use both drop and doit actions for the same checkgroups
       message).
 
       A new control.ctl.local file has also been added in *pathetc*.  Rules
@@ -1383,10 +1383,10 @@ Changes in 2.4.6
       the security the user wants to enforce on his system are possible.
 
     * A new improved version of docheckgroups is shipped with INN.  The -u
-      flag permits to automatically update the newsgroups file (with a
+      flag permits one to automatically update the newsgroups file (with a
       proper number of tabulations and an alphabetical sort), removing
       obsolete descriptions and adding new ones.  A second argument on
-      command-line permits to specify which newsgroups should not be
+      command-line permits one to specify which newsgroups should not be
       checked, so as not to treat them.
 
     * An *email=* keyword has been added by James Ralston to news.daily in
@@ -1533,7 +1533,7 @@ Changes in 2.4.4
       of nnrpd spawned from innd.
 
     * A new inn.conf parameter called *pathcluster* has been added: it
-      allows to append a common name to the Path: header on all incoming
+      allows one to append a common name to the Path: header on all incoming
       articles.  *pathhost* and *pathalias* (if set) are still appended to
       the path as usual, but *pathcluster* is always appended as the last
       element (e.g. on the leftmost side of the Path: header).  Thanks to
diff --git a/control/pgpverify.in b/control/pgpverify.in
index c8319b9..8a565d2 100644
--- a/control/pgpverify.in
+++ b/control/pgpverify.in
@@ -31,7 +31,7 @@
 #
 # Changes from 1.27 -> 1.28
 # -- Use the INN::Config Perl module instead of innshellvars.pl to
-#    accomodate the new build process of INN 2.5.
+#    accommodate the new build process of INN 2.5.
 #
 # Changes from 1.26 -> 1.27
 # -- Default to pubring.gpg when trustedkeys.gpg is not found in the
@@ -72,7 +72,7 @@
 #
 # Changes from 1.13 -> 1.13.1
 # -- Nothing functional, just moved the innshellvars.pl line to the head of
-#    the script, to accomodate the build process of INN.
+#    the script, to accommodate the build process of INN.
 #
 # Changes from 1.12 -> 1.13
 # -- Use INN's syslog_facility if available.
diff --git a/doc/checklist b/doc/checklist
index 828c86d..6b6e448 100644
--- a/doc/checklist
+++ b/doc/checklist
@@ -119,7 +119,7 @@ Configure
         Name the metacycbuff, then configure storage.conf.
 
     *   In storage.conf, be sure that all sizes of articles can be
-        accomodated.  If you want to throw away large articles, do it
+        accommodated.  If you want to throw away large articles, do it
         explicitly by using the "trash" storage method (you can also set a
         lower *maxartsize* in inn.conf).
 
diff --git a/doc/man/INN__Config.3pm b/doc/man/INN__Config.3pm
index 307ad25..683dcd6 100644
--- a/doc/man/INN__Config.3pm
+++ b/doc/man/INN__Config.3pm
@@ -139,7 +139,7 @@ INN::Config \- Export all the variables an INN Perl script might need
 .SH "DESCRIPTION"
 .IX Header "DESCRIPTION"
 This Perl module sets up any and all the variables that an \s-1INN\s0 Perl script
-might need.  More particularly, it allows to use \fIinn.conf\fR variables:
+might need.  More particularly, it allows one to use \fIinn.conf\fR variables:
 they are all provided by \fBinnconfval\fR, as well as the version of \s-1INN
 \&\s0(in the variable \f(CW$INN::Config::VERSION\fR for its short number form, on in
 \&\f(CW$INN::Config::version\fR for its complete form).  Other useful variables
diff --git a/doc/man/clientlib.3 b/doc/man/clientlib.3
index 266e0cc..a5b7fae 100644
--- a/doc/man/clientlib.3
+++ b/doc/man/clientlib.3
@@ -19,7 +19,7 @@ clientlib \- NNTP clientlib part of InterNetNews library
 
 .B "int"
 .B "handle_server_response(response, host)"
-.B "    int	reponse;"
+.B "    int	response;"
 .B "    char	*host;"
 
 .B "void"
diff --git a/doc/man/history.5 b/doc/man/history.5
index 8f7def2..65eda8a 100644
--- a/doc/man/history.5
+++ b/doc/man/history.5
@@ -60,7 +60,7 @@ This field is empty if the article has been expired.
 .PP
 For example, an article whose Message-ID was
 <7q2saq$sal$1 at isrv4.pa.vix.com>, posted on 26 Aug 1999 08:02:34 GMT and
-recieved at 26 Aug 1999 08:06:54 GMT, could have a
+received at 26 Aug 1999 08:06:54 GMT, could have a
 history line (broken into three lines for display) like the
 following:
 .RS
diff --git a/doc/man/nntpget.1 b/doc/man/nntpget.1
index 51fd863..da18a21 100644
--- a/doc/man/nntpget.1
+++ b/doc/man/nntpget.1
@@ -62,7 +62,7 @@ all articles newer then the modification date of the specified
 .TP
 .B \-u
 The ``\fB\-u\fP'' option is like ``\fB\-f\fP'' except that if the transfer
-succeedes, the file will be updated with a statistics line, modifying its
+succeeds, the file will be updated with a statistics line, modifying its
 timestamp so that it can be used in later invocations.
 .TP
 .B \-t
diff --git a/doc/pod/checklist.pod b/doc/pod/checklist.pod
index 88dd311..76d029f 100644
--- a/doc/pod/checklist.pod
+++ b/doc/pod/checklist.pod
@@ -146,7 +146,7 @@ Name the metacycbuff, then configure F<storage.conf>.
 =item *
 
 In F<storage.conf>, be sure that all sizes of articles can be
-accomodated.  If you want to throw away large articles, do it explicitly
+accommodated.  If you want to throw away large articles, do it explicitly
 by using the C<trash> storage method (you can also set a lower I<maxartsize>
 in F<inn.conf>).
 
diff --git a/doc/pod/control.ctl.pod b/doc/pod/control.ctl.pod
index 77dcf2b..c2a5fd8 100644
--- a/doc/pod/control.ctl.pod
+++ b/doc/pod/control.ctl.pod
@@ -101,7 +101,7 @@ those of the shell's I<case> statement; see sh(1) for more details.
 If the control message is a newgroup or rmgroup, the third field,
 <newsgroups>, is a shell-style pattern matching the newsgroup affected
 by the control message (especially C<?> matches exactly one character,
-C<*> matches zero or more characters and C<|> permits to match several
+C<*> matches zero or more characters and C<|> permits one to match several
 patterns on the same line S<-- for> instance C<comp.*|humanities.*>
 matches every newsgroup whose name begins with C<comp.> or C<humanities.>).
 If the control message is a checkgroups, the third field is a shell-style
@@ -310,7 +310,7 @@ The newsgroup foo.bar4 is silently created on the news server, with
 the description "A newsgroup you want." added to the F<newsgroups>
 file.  In the absence of encoding values (either in the checkgroups
 message or in B</encoding/> and B</localencoding>), the default is
-to decode the sentence as CP1242 and reencode it as UTF-8.
+to decode the sentence as CP1242 and re-encode it as UTF-8.
 
 If C<doit=mail> was used, a mail would be sent to the news administrator
 to inform him that foo.bar4 was successfully created.
diff --git a/doc/pod/controlchan.pod b/doc/pod/controlchan.pod
index 1f03d62..6aab8af 100644
--- a/doc/pod/controlchan.pod
+++ b/doc/pod/controlchan.pod
@@ -66,7 +66,7 @@ If you run FreeBSD, you will need to run the following in addition:
 By default, B<controlchan> does not process articles whose Date:
 or Injection-Date: header fields are too far in the past (more than
 I<artcutoff> days, as set in F<inn.conf>) or one day in the future.
-It allows to prevent a malicious replay of old control articles.
+It allows one to prevent a malicious replay of old control articles.
 
 Using the B<-c> flag disables this check on the cutoff date.
 
diff --git a/doc/pod/inndf.pod b/doc/pod/inndf.pod
index 204ab53..465a23b 100644
--- a/doc/pod/inndf.pod
+++ b/doc/pod/inndf.pod
@@ -67,7 +67,7 @@ they're posted to.
 
 Report the percentage usage of the overview database space.  This is only
 meaningful for overview methods that pre-allocate a certain amount of
-space rather than grow to accomodate more records.  Currently, this flag
+space rather than grow to accommodate more records.  Currently, this flag
 is only useful for the buffindexed overview method.
 
 =back
diff --git a/doc/pod/install.pod b/doc/pod/install.pod
index 10be317..356a9b8 100644
--- a/doc/pod/install.pod
+++ b/doc/pod/install.pod
@@ -506,7 +506,7 @@ F</usr/local/news> for I<pathnews> has not been changed).  This won't
 affect any of the paths compiled into INN; it's used primarily in some
 situations like building a software distribution, where software has to
 be installed into some file system that will later be mounted as F</>
-on the final system.  Using DESTDIR permits to build INN, install
+on the final system.  Using DESTDIR permits one to build INN, install
 it into a virtual root directory, and package the resulting files
 in a single step, without manual intervention, by a non-root user.
 It is possible to build and install INN in this way, but you must set
diff --git a/doc/pod/libinnhist.pod b/doc/pod/libinnhist.pod
index c1b3e4f..9731354 100644
--- a/doc/pod/libinnhist.pod
+++ b/doc/pod/libinnhist.pod
@@ -122,7 +122,7 @@ B<HIScheck> returns B<true>, else B<false>.
 B<HISwrite> writes a new entry to the database I<history> associated
 with I<key>. I<arrived>, I<posted>, and I<expired> specify the arrival,
 posting, and expiry time respectively; I<posted> and I<expired> may be
-specifed as <= 0 in which case that component shall be treated as
+specified as <= 0 in which case that component shall be treated as
 absent in the database. I<token> is associated with the specified
 I<key>. B<HISwrite> returns B<true> on success, or B<false> on
 failure. The behaviour when I<key> is not unique with respect to the
@@ -139,7 +139,7 @@ respect to the existing entries in I<history> is unspecified.
 B<HISreplace> replaces an existing entry in the database I<history>,
 associated with I<key>. I<arrived>, I<posted>, I<expired> specify the
 arrival, posting and expiry time respectively; I<posted> and
-I<expired> may be specifed as <= 0 in which case that component shall
+I<expired> may be specified as <= 0 in which case that component shall
 be treated as absent in the database. I<token> is associated with the
 specified I<key>; if B<NULL> then the history database merely
 remembers that this I<key> has been seen, together with its arrival
@@ -178,7 +178,7 @@ posting and/or expiry may be zero, but that the token will never be
 B<NULL> (such entries are handled solely via the threshold
 mechanism). The storage token passed to the discrimination function
 may be updated if required (for example, as might be needed by a
-hierachical storage management implementation).
+hierarchical storage management implementation).
 
 Entries in the database with a posting time less than I<threshold>
 with no token associated with them are deleted from the database.
diff --git a/doc/pod/news.pod b/doc/pod/news.pod
index 110c195..ac0c396 100644
--- a/doc/pod/news.pod
+++ b/doc/pod/news.pod
@@ -112,7 +112,7 @@ protocols like NNTP.  Using the new COMPRESS command is recommended.
 
 =item *
 
-The I<tlscompression> parameter in F<inn.conf> now also permits to
+The I<tlscompression> parameter in F<inn.conf> now also permits one to
 disable TLS-level compression with S<OpenSSL 0.9.8>.  It previously
 had an effect only when S<OpenSSL 1.0.0> or later was used.
 
@@ -193,7 +193,7 @@ This file was previously stored in F<.pullnews> in the running user's
 home directory (even for the news user).  If you use B<pullnews>, you
 need to manually move and rename the configuration file; otherwise,
 it will no longer work.  Note that the B<-c> flag passed to B<pullnews>
-allows to specify another configuration file, if need be.
+allows one to specify another configuration file, if need be.
 
 =item *
 
@@ -423,7 +423,7 @@ Keeping the INN test suite driver up-to-date will be possible thanks
 to a new B<getc-tap-harness> script in the F<support> directory that
 automatically fetches the latest upstream changes.
 
-Similarly, the new B<getrra-c-util> script permits to keep most of
+Similarly, the new B<getrra-c-util> script permits one to keep most of
 the utility and portability functions synchronized with the upstream
 version of the rra-c-util package maintained by Russ Allbery.
 
@@ -442,7 +442,7 @@ Other minor bug fixes and documentation improvements.
 New F<inn.conf> parameters used by B<nnrpd> to fine-tune the TLS/SSL
 configuration have been added:  I<tlsciphers>, I<tlscompression>,
 I<tlseccurve>, I<tlspreferserverciphers>, and I<tlsprotocols>.
-Many thanks to Christian Mock for his contribution that permits to
+Many thanks to Christian Mock for his contribution that permits one to
 tighten the level of security provided by TLS/SSL.
 
 =item *
@@ -503,7 +503,7 @@ taint mode was unproperly declared.
 Several improvements have been contributed to B<pullnews> by Geraint
 Edwards:  the new B<-a> flag adds the Diablo-compatible hashfeed
 ability, the new B<-B> flag triggers header-only feeding, the B<-m>
-flag now permits to remove headers matching (or not) a given regexp,
+flag now permits one to remove headers matching (or not) a given regexp,
 and B<rnews> reporting is improved.
 
 =item *
@@ -744,7 +744,7 @@ Thanks to River Tarnell for these bug reports.
 
 It is now possible to properly generate daily statistics with B<sendinpaths>
 thanks to the new B<-k> and B<-r> flags that permit to control the interval
-of days for processing dump files.  The new B<-c> flag permits to send a
+of days for processing dump files.  The new B<-c> flag permits one to send a
 copy of the generated e-mail to the newsmaster.
 
 Also fixed an issue with statistics that could be missing or duplicated
@@ -1680,7 +1680,7 @@ descriptions.  The C<MIME::Parser> and C<Encode> modules are used.
 Processing control messages has been greatly improved, especially
 checkgroups:  the F<active> and F<newsgroups> files are now properly
 updated when they are processed, and all matching lines in F<control.ctl>
-for a given checkgroups are honoured (which for instance allows to use
+for a given checkgroups are honoured (which for instance allows one to use
 both B<drop> and B<doit> actions for the same checkgroups message).
 
 A new F<control.ctl.local> file has also been added in I<pathetc>.  Rules
@@ -1754,7 +1754,7 @@ maintenance, running B<procbatch>.
 =item *
 
 Support for I<runasuser> and I<runasgroup> parameters in F<inn.conf>
-allows to set the news user and the news group under which the news server
+allows one to set the news user and the news group under which the news server
 runs.  Thanks to Ivan Shmakov for this feature.
 
 New other options have been added to configuration files:  I<ignore> in
@@ -1897,7 +1897,7 @@ security the user wants to enforce on his system are possible.
 =item *
 
 A new improved version of B<docheckgroups> is shipped with INN.  The B<-u>
-flag permits to automatically update the F<newsgroups> file (with a proper
+flag permits one to automatically update the F<newsgroups> file (with a proper
 number of tabulations and an alphabetical sort), removing obsolete
 descriptions and adding new ones.  A second argument on command-line permits
 to specify which newsgroups should not be checked, so as not to treat them.
@@ -2081,7 +2081,7 @@ The issue was reported by Viktor Pilpenok and fixed by Marco d'Itri.
 =item *
 
 Added support for Diablo quickhash and hashfeed algorithms.
-It allows to distribute the messages among several peers (new B<Q> flag
+It allows one to distribute the messages among several peers (new B<Q> flag
 for F<newsfeeds>).  Thanks to Miquel van Smoorenburg for this
 implementation in INN.
 
@@ -2109,7 +2109,7 @@ of B<nnrpd> spawned from B<innd>.
 =item *
 
 A new F<inn.conf> parameter called I<pathcluster> has been added:
-it allows to append a common name to the Path: header
+it allows one to append a common name to the Path: header
 on all incoming articles.  I<pathhost> and I<pathalias> (if set)
 are still appended to the path as usual, but I<pathcluster>
 is always appended as the last element (e.g. on the leftmost
diff --git a/doc/pod/newsfeeds.pod b/doc/pod/newsfeeds.pod
index bae0d3e..2d752e7 100644
--- a/doc/pod/newsfeeds.pod
+++ b/doc/pod/newsfeeds.pod
@@ -461,7 +461,7 @@ and thirteen overlapping values from C<_0> to C<_12> can be used.
 Only up to four totally independent values exist:  C<_0>, C<_4>,
 C<_8> and C<_12>.
 
-Therefore, it allows to a generate a second level of deterministic
+Therefore, it allows one to a generate a second level of deterministic
 distribution.  Indeed, if a news server is fed C<Q1/2>, it can go on
 splitting thanks to C<Q1-3/9_4> for instance.  Up to four levels of
 deterministic distribution can be used.
diff --git a/doc/pod/pullnews.pod b/doc/pod/pullnews.pod
index 683a440..b408f25 100644
--- a/doc/pod/pullnews.pod
+++ b/doc/pod/pullnews.pod
@@ -72,7 +72,7 @@ used by hashfeed starts.  The default value for C<offset> is C<:0> and
 thirteen overlapping values from C<:0> to C<:12> can be used.  Only up to
 four totally independent values exist:  C<:0>, C<:4>, C<:8> and C<:12>.
 
-Therefore, it allows to a generate a second level of deterministic
+Therefore, it allows one to a generate a second level of deterministic
 distribution.  Indeed, if B<pullnews> feeds C<1/2>, it can go on
 splitting thanks to C<1-3/9:4> for instance.  Up to four levels of
 deterministic distribution can be used.
diff --git a/doc/pod/readers.conf.pod b/doc/pod/readers.conf.pod
index d278d9e..1118771 100644
--- a/doc/pod/readers.conf.pod
+++ b/doc/pod/readers.conf.pod
@@ -249,7 +249,7 @@ One auth group can have multiple res: parameters, and they will be tried
 in the order they're listed.  The results of the first successful one
 will be used.
 
-Alternatively, a res block can be used instead of a res: paramater.
+Alternatively, a res block can be used instead of a res: parameter.
 The recognized parameters in such res blocks are:
 
 =over 3
@@ -518,7 +518,7 @@ the behaviour of the I<addinjectiondate> parameter in F<inn.conf>, and
 will remain in UTC, though.)  This is a boolean value and the default
 is false.
 
-This parameter permits to handle a relatively unusual corner case.
+This parameter permits one to handle a relatively unusual corner case.
 It is mostly a tool for people who I<want> to disclose their local time
 zone (it can be useful information in certain types of discussions),
 but whose clients don't for some reason, and who can arrange for the
diff --git a/doc/pod/sendinpaths.pod b/doc/pod/sendinpaths.pod
index 6483412..380f524 100644
--- a/doc/pod/sendinpaths.pod
+++ b/doc/pod/sendinpaths.pod
@@ -48,7 +48,7 @@ older than I<keep-days> days.  The default is C<0>, that is to say to
 remove all dump files.
 
 Setting I<keep-days> to another value can be useful for debugging purpose
-because it permits to keep a few dump files.
+because it permits one to keep a few dump files.
 
 =item B<-n>
 
diff --git a/doc/pod/uwildmat.pod b/doc/pod/uwildmat.pod
index fd5fb17..e5c152c 100644
--- a/doc/pod/uwildmat.pod
+++ b/doc/pod/uwildmat.pod
@@ -167,7 +167,7 @@ and the like rather than B<wildmat> to distinguish them from the
 B<wildmat> function provided by Rich $alz's original implementation.
 While this code is heavily based on Rich's original code, it has
 substantial differences, including the extension to support UTF-8
-characters, and has noticable functionality changes.  Any bugs present in
+characters, and has noticeable functionality changes.  Any bugs present in
 it aren't Rich's fault.
 
 $Id: uwildmat.pod 9767 2014-12-07 21:13:43Z iulius $
diff --git a/expire/fastrm.c b/expire/fastrm.c
index fe29bff..6b42bb1 100644
--- a/expire/fastrm.c
+++ b/expire/fastrm.c
@@ -622,7 +622,7 @@ bad_path(const char *p)
 
 /*
 **  Main routine.  Parse options, initialize the storage manager, and
-**  initalize various global variables, and then go into a loop calling
+**  initialize various global variables, and then go into a loop calling
 **  process_line and unlink_filelist as needed.
 */
 int
diff --git a/frontends/inews.c b/frontends/inews.c
index 8bca5df..15e8802 100644
--- a/frontends/inews.c
+++ b/frontends/inews.c
@@ -404,7 +404,7 @@ CheckControl(char *ctrl)
     for (ctrl = p; *p && !ISWHITE(*p); p++)
 	continue;
     if (p == ctrl)
-        die("emtpy control message");
+        die("empty control message");
     save = *p;
     *p = '\0';
 
diff --git a/frontends/ovdb_server.c b/frontends/ovdb_server.c
index 3c192cc..d75c394 100644
--- a/frontends/ovdb_server.c
+++ b/frontends/ovdb_server.c
@@ -279,7 +279,7 @@ process_cmd(struct reader *r)
 	case CMD_ARTINFO:
 	    r->state = STATE_READGROUP;
 	    if(cmd->grouplen == 0) {
-		/* shoudn't happen... */
+		/* shouldn't happen... */
 		r->mode = MODE_CLOSED;
 		close(r->fd);
 		free(r->buf);
diff --git a/innd/innd.c b/innd/innd.c
index be44815..f2f1532 100644
--- a/innd/innd.c
+++ b/innd/innd.c
@@ -716,7 +716,7 @@ main(int ac, char *av[])
     if (!SMsetup(SM_RDWR, &flag) || !SMsetup(SM_PREOPEN, &flag))
         die("SERVER cant set up storage manager");
     if (!SMinit())
-        die("SERVER cant initalize storage manager: %s", SMerrorstr);
+        die("SERVER cant initialize storage manager: %s", SMerrorstr);
 
 #if	defined(_DEBUG_MALLOC_INC)
     m.i = 1;
diff --git a/innd/perl.c b/innd/perl.c
index bf41440..a465805 100644
--- a/innd/perl.c
+++ b/innd/perl.c
@@ -92,7 +92,7 @@ PLartfilter(const ARTDATA *data, char *artBody, long artLen, int lines)
        since it could potentially be quite large.  In testing, this produced
        a 17% speed improvement over making a copy of the article body
        for a fairly heavy filter.
-       Available since Perl 5.7.1, newSVpvn_share allows to avoid such
+       Available since Perl 5.7.1, newSVpvn_share allows one to avoid such
        a copy (getting round its use for older versions of Perl leads
        to unreliable SV * bodies as for regexps).  And for Perl not to
        compute a hash for artBody, we give it "42". */
diff --git a/innfeed/connection.c b/innfeed/connection.c
index 56dcb18..d731453 100644
--- a/innfeed/connection.c
+++ b/innfeed/connection.c
@@ -2150,7 +2150,7 @@ static void responseIsRead (EndPoint e, IoStatus i, Buffer *b, void *d)
 	    }
           }
 
-        /* Now handle possible remaining partial reponse and set up for
+        /* Now handle possible remaining partial response and set up for
            next read. */
         if (*response != '\0')
           {                       /* partial response */
@@ -2497,7 +2497,7 @@ static void writeProgress (EndPoint e UNUSED, IoStatus i, Buffer *b UNUSED,
  */
 
 /*
- * This is called when the timeout for the reponse from the remote
+ * This is called when the timeout for the response from the remote
  * goes off. We tear down the connection and notify our host.
  */
 static void responseTimeoutCbk (TimeoutId id, void *data)
@@ -3226,7 +3226,7 @@ static void processResponse235 (Connection cxn, char *response UNUSED)
 
 
 /*
- * process the "send article to be transfered" reponse to the IHAVE.
+ * process the "send article to be transfered" response to the IHAVE.
  */
 static void processResponse335 (Connection cxn, char *response UNUSED)
 {
@@ -3326,7 +3326,7 @@ static void processResponse400 (Connection cxn, char *response)
 
 
 /*
- * process the "not wanted" reponse to the IHAVE.
+ * process the "not wanted" response to the IHAVE.
  */
 static void processResponse435 (Connection cxn, char *response UNUSED)
 {
@@ -3677,10 +3677,10 @@ static void noSuchMessageId (Connection cxn, unsigned int responseCode,
   const char *peerName = hostPeerName (cxn->myHost) ;
 
   if (msgid == NULL || strlen (msgid) == 0)
-    warn ("%s:%d cxnsleep message-id missing in reponse code %d: %s",
+    warn ("%s:%d cxnsleep message-id missing in response code %d: %s",
           peerName, cxn->ident, responseCode, response) ;
   else
-    warn ("%s:%d cxnsleep message-id invalid message-id in reponse code"
+    warn ("%s:%d cxnsleep message-id invalid message-id in response code"
           " %d: %s", peerName, cxn->ident, responseCode, msgid) ;
 
   cxnLogStats (cxn,true) ;
@@ -4434,7 +4434,7 @@ static int prepareWriteWithTimeout (EndPoint endp,
 {
   /* Clear the read timer, since we can't expect a response until everything
      is sent.
-     XXX - would be nice to have a timeout for reponses if we're sending a
+     XXX - would be nice to have a timeout for responses if we're sending a
      string of commands. */
   clearTimer (cxn->readBlockedTimerId) ;
 
diff --git a/innfeed/host.h b/innfeed/host.h
index 7ff9117..37af420 100644
--- a/innfeed/host.h
+++ b/innfeed/host.h
@@ -40,7 +40,7 @@ extern void mainLogStatus (FILE *fp) ;
  * ARTTIMEOUT is the max amount of time we'll wait for a new article
  *    from INN before considering the connection unused and we'll close
  *    down.
- * RESPTIMEOUT is the max amount of time we'll wait for any reponse
+ * RESPTIMEOUT is the max amount of time we'll wait for any response
  *    from a remote. Past this we'll close down the network connection.
  * INITIALCXNS is the number of Connections to create at Host creation time.
  * MAXCXNS is the maximum number of parallel connections to the
diff --git a/innfeed/imap_connection.c b/innfeed/imap_connection.c
index b9b987e..cfd6120 100644
--- a/innfeed/imap_connection.c
+++ b/innfeed/imap_connection.c
@@ -1792,7 +1792,7 @@ static void imap_writeTimeoutCbk (TimeoutId id UNUSED, void *data)
 }
 
 /*
- * This is called when the timeout for the reponse from the remote
+ * This is called when the timeout for the response from the remote
  * goes off. We tear down the connection and notify our host.
  */
 static void imap_readTimeoutCbk (TimeoutId id, void *data)
@@ -1994,7 +1994,7 @@ static void prepareReopenCbk (Connection cxn, int type)
 }
 
 /*
- * This is called when the timeout for the reponse from the remote
+ * This is called when the timeout for the response from the remote
  * goes off. We tear down the connection and notify our host.
  */
 static void lmtp_readTimeoutCbk (TimeoutId id, void *data)
diff --git a/innfeed/misc.h b/innfeed/misc.h
index d17b6f6..460119c 100644
--- a/innfeed/misc.h
+++ b/innfeed/misc.h
@@ -56,7 +56,7 @@ void d_printf (unsigned int level, const char *fmt, ...)
 /* for the gethostbyname() error code */
 const char *host_err_str (void) ;
 
-/* parse a reponse line into it's code and body. *rest will end up pointing
+/* parse a response line into it's code and body. *rest will end up pointing
    into the middle of p */
 bool getNntpResponse (char *p, int *code, char **rest) ;
 
diff --git a/lib/dbz.c b/lib/dbz.c
index 5c72a6f..9ce85b1 100644
--- a/lib/dbz.c
+++ b/lib/dbz.c
@@ -283,7 +283,7 @@ static hash_table etab;         /* existance hash table, used for existance chec
 #endif
 static bool dirty;		/* has a store() been done? */
 static erec empty_rec;          /* empty rec to compare against
-				   initalized in dbzinit */
+				   initialized in dbzinit */
 
 /* misc. forwards */
 static bool getcore(hash_table *tab);
diff --git a/lib/inndcomm.c b/lib/inndcomm.c
index ba4b4a9..aa7624e 100644
--- a/lib/inndcomm.c
+++ b/lib/inndcomm.c
@@ -96,7 +96,7 @@ ICCopen(void)
 	return -1;
     }
 
-    /* Adjust the socket buffer size to accomodate large responses.  Ignore
+    /* Adjust the socket buffer size to accommodate large responses.  Ignore
        failure; the message may fit anyway, and if not, we'll fail below. */
     setsockopt(ICCfd, SOL_SOCKET, SO_RCVBUF, &size, sizeof(size));
 
diff --git a/storage/cnfs/cnfs.c b/storage/cnfs/cnfs.c
index d39ad2d..0281931 100644
--- a/storage/cnfs/cnfs.c
+++ b/storage/cnfs/cnfs.c
@@ -838,7 +838,7 @@ static bool CNFSread_config(void) {
     for (ctab_i = 0; ctab_i < ctab_free; ctab_i++) {
 	if (strncmp(ctab[ctab_i], "cycbuff:", 8) == 0) {
 	    if (metacycbufffound) {
-                warn("CNFS: all cycbuff entries shoud be before metacycbuff"
+                warn("CNFS: all cycbuff entries should be before metacycbuff"
                      " entries");
 		free(config);
 		free(ctab);
diff --git a/storage/tradindexed/tradindexed.c b/storage/tradindexed/tradindexed.c
index 420bbeb..827749e 100644
--- a/storage/tradindexed/tradindexed.c
+++ b/storage/tradindexed/tradindexed.c
@@ -365,7 +365,7 @@ tradindexed_expiregroup(const char *group, int *low, struct history *history)
 
 
 /*
-**  Set various options or query various paramaters for the overview method.
+**  Set various options or query various parameters for the overview method.
 **  The interface is, at present, not particularly sane.
 */
 bool


More information about the inn-workers mailing list