diff --git a/CONTRIBUTORS b/CONTRIBUTORS index f319a483e..c5f9fcc9e 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -19,7 +19,7 @@ Doug Needham: moderator info instead of digging it out of a local file. David Lawrence: - Did the hooks for PGP verificiation of control messages, added + Did the hooks for PGP verification of control messages, added actived support for syncing against an active file obtained via ftp. @@ -105,7 +105,7 @@ Katsuhiro Kondou: policy for articles stored through storage API and expireindex, as well as hundreds of fixes to clean up defects as changes were made. Did a large amount of man page documentation and clean up. - Has also been a major force in the CVS pool maintenace. + Has also been a major force in the CVS pool maintenance. Russell Vincent: Expanded inn.conf to make many of the old compile time options diff --git a/MANIFEST b/MANIFEST index 6bfd9267f..ef845197f 100644 --- a/MANIFEST +++ b/MANIFEST @@ -188,7 +188,7 @@ doc/man/libinn_list.3 Manpage for list routines doc/man/libinn_qio.3 Manpage for fast I/O file routines doc/man/libinn_tst.3 Manpage for ternary search tree routines doc/man/libinn_uwildmat.3 Manpage for uwildmat library routine -doc/man/libinnauth.3 Manpage for authprogs utilty routines +doc/man/libinnauth.3 Manpage for authprogs utility routines doc/man/libinnhist.3 Manpage for history API library routines doc/man/libinnstorage.3 Manpage for storage API library routines doc/man/mailpost.8 Manpage for mailpost frontend @@ -582,7 +582,7 @@ lib/setenv.c setenv replacement lib/seteuid.c seteuid replacement lib/setproctitle.c setproctitle replacement lib/snprintf.c snprintf and vsnprintf replacement -lib/strcasecmp.c Case-insenstive string comparison (BSD) +lib/strcasecmp.c Case-insensitive string comparison (BSD) lib/strlcat.c strlcat replacement lib/strlcpy.c strlcpy replacement lib/strspn.c Skip bytes in a string (BSD) diff --git a/authprogs/ckpasswd.c b/authprogs/ckpasswd.c index dc78620be..3f18d6d7d 100644 --- a/authprogs/ckpasswd.c +++ b/authprogs/ckpasswd.c @@ -303,7 +303,7 @@ output_user(const char *username, bool wantgroup) /* ** Main routine. ** -** We handle the variences between systems with #if blocks above, so that +** We handle the variances between systems with #if blocks above, so that ** this code can look fairly clean. */ int diff --git a/backends/innxmit.c b/backends/innxmit.c index 9cea52f98..0bbd45ae9 100644 --- a/backends/innxmit.c +++ b/backends/innxmit.c @@ -83,7 +83,7 @@ ** 0 <= stnq <= STNBUF ** 0 <= stoldest < STNBUF */ -struct stbufs { /* for each article we are procesing */ +struct stbufs { /* for each article we are processing */ char st_fname[SPOOLNAMEBUFF]; /* file name */ char st_id[NNTP_MAXLEN_COMMAND]; /* Message-ID */ unsigned int st_retry; /* retry count (0 for the first try) */ @@ -96,8 +96,8 @@ static int stnq; /* current number of active entries in stbuf */ static long stnofail; /* Count of consecutive successful sends */ static int stoldest; /* Oldest allocated entry to stbuf (if stnq!=0) */ -static int TryStream = true; /* Should attempt stream negotation? */ -static int CanStream = false; /* Result of stream negotation */ +static int TryStream = true; /* Should attempt stream negotiation? */ +static int CanStream = false; /* Result of stream negotiation */ static int DoCheck = true; /* Should check before takethis? */ static char modestream[] = "MODE STREAM"; static char modeheadfeed[] = "MODE HEADFEED"; diff --git a/backends/overchan.c b/backends/overchan.c index 126296759..8044eed9c 100644 --- a/backends/overchan.c +++ b/backends/overchan.c @@ -119,7 +119,7 @@ write_overview(struct overview *overview, struct overview_data *data, /* ** Process a single file. Takes the open overview struct, the file name -** (which may be - to process standard intput), and the statistics struct and +** (which may be - to process standard input), and the statistics struct and ** calls parse_line and write_overview for each line. */ static void diff --git a/contrib/README b/contrib/README index 2c08fdcc0..1bc694837 100644 --- a/contrib/README +++ b/contrib/README @@ -47,7 +47,7 @@ auth_pass backlogstat - Prints informations about the current state of innfeed's backlog, if + Prints information about the current state of innfeed's backlog, if any. cleannewsgroups diff --git a/contrib/analyze-traffic.in b/contrib/analyze-traffic.in index f635722af..7fb35e3db 100644 --- a/contrib/analyze-traffic.in +++ b/contrib/analyze-traffic.in @@ -24,7 +24,7 @@ # :Tf,WgsbmnN:/usr/local/news/log/traffic # # You may find it useful to restrict the articles being logged, -# either by modifing the wildmat pattern, or by using the /exclude +# either by modifying the wildmat pattern, or by using the /exclude # notation to indicate articles that have passed through some # servers should not be included. # @@ -58,7 +58,7 @@ # issue warnings (and perhaps produce funny things in the output). # # A workaround would be to repeat e.g. the Message-ID at the end of -# the intput format (i.e. WgsbmnNm), and then the script could read as +# the input format (i.e. WgsbmnNm), and then the script could read as # many lines as necessary until that ad hoc end-of-record marker # appeared. I haven't found a need for this yet, though. # diff --git a/contrib/auth_pass.README b/contrib/auth_pass.README index 2e8b9f5ac..eb8902d44 100644 --- a/contrib/auth_pass.README +++ b/contrib/auth_pass.README @@ -68,10 +68,10 @@ who may be interested in writing your own... 4) Need I say it (again)...these programs can be a security hole unless care is taken to avoid SUID programs and those that transmit/receive passwords in the clear (especially those that use login passwords). We should give some - thought to doing a similiar program for Kerberos authentication (what sort + thought to doing a similar program for Kerberos authentication (what sort of instance should we use???) and other authentication methods such as Compuserve's Distributed Authentication (guess I should do this one once the - standard is finialized with the IETF 8) ). + standard is finalized with the IETF 8) ). Also, a question for the list as a whole... what readers easily support authinfo generic (including running a program at the reader's end to do things diff --git a/contrib/innconfcheck.in b/contrib/innconfcheck.in index be1383960..fca5afb6d 100644 --- a/contrib/innconfcheck.in +++ b/contrib/innconfcheck.in @@ -69,12 +69,12 @@ PAGER=less # by nroff to edit in the actual inn.conf settings. The problem with this # approach is that if the format of the inn.conf man page ever changes # assumptions about the format that this script makes will probably break. -# Presently, the base/orginal format of the inn.conf man page is in perl +# Presently, the base/original format of the inn.conf man page is in perl # POD documentation. The formatting of this file is less likely to change # in the future and is a cleaner format for automated editing. However, # their is some disadvantages to using this file. First disadvantage, # the POD file is not installed by INN 2.3.0 by default (see INNCONFPOD -# enviromental variable for setting the script to find the file in the +# environmental variable for setting the script to find the file in the # correct location). Second disadvantage, pod2man does not appear to # support using stdin so the edited POD must be temporarily stored as a # file. Finally, the last disadvantage, the script is slower due to the diff --git a/contrib/makeexpctl.in b/contrib/makeexpctl.in index bd5471b07..133935d6a 100644 --- a/contrib/makeexpctl.in +++ b/contrib/makeexpctl.in @@ -64,7 +64,7 @@ printline("alt*,misc*,news*,rec*,sci*,soc*,talk*,vmsnet*", "M", 5); printline("comp*,gnu*,info*,ok*,ecn*,uok*", "U", 5); printline("comp*,gnu*,info*,ok*,ecn*,uok*", "M", 7); # and now handle each group that's regularly read, -# assinging them 3* normal max expire +# assigning them 3* normal max expire foreach my $i (keys %groups) { printline($i, "A", 21); } diff --git a/control/pgpverify.in b/control/pgpverify.in index a94209e74..454b81f59 100644 --- a/control/pgpverify.in +++ b/control/pgpverify.in @@ -19,7 +19,7 @@ # Changes from 1.30 -> 1.31 # -- Add a $gpg_has_allow_weak_digest_algos_flag variable to specify whether # gpg supports the --allow-weak-digest-algos flag. This variable will -# be overriden by INN::Config, if used. GnuPG 1.4.20 and 2.0.23 introduced +# be overridden by INN::Config, if used. GnuPG 1.4.20 and 2.0.23 introduced # this flag, necessary to verify the signatures of old PGP keys still in # use for some hierarchies. # -- Using at least GnuPG 1.4.20 or 2.1.0 is no longer required; this version @@ -210,7 +210,7 @@ $lockdir = $tmpdir; # /some/text/file" on a file that is not a valid news article. The # "non-header at line #" error should be syslogged. # -# $syslog_method = 'unix'; # Unix doman socket, Perl 5.004_03 or higher. +# $syslog_method = 'unix'; # Unix domain socket, Perl 5.004_03 or higher. # $syslog_method = 'inet'; # UDP to port 514 of localhost. # $syslog_method = ''; # Don't ever try to do syslogging. $syslog_method = 'logger'; # Search for the logger program. diff --git a/doc/FAQ b/doc/FAQ index 50fe5b56b..85ac78c6d 100644 --- a/doc/FAQ +++ b/doc/FAQ @@ -937,7 +937,7 @@ documentation and the comments in the default configuration file. Subject: 5. Problems on Specific Systems Problems specific to particular operating systems or platforms. Look here -if INN doens't behave as expected on your particular system, or if you're +if INN doesn't behave as expected on your particular system, or if you're having trouble compiling INN in the first place. ------------------------------ diff --git a/doc/config-semantics b/doc/config-semantics index a6d98ce09..ef4cecb42 100644 --- a/doc/config-semantics +++ b/doc/config-semantics @@ -22,7 +22,7 @@ are: groups of the wanted type, won't be seen). Therefore, the *only* significance of nested group structure is parameter -inheritence and pruning. In the absence of pruning, it would always be +inheritance and pruning. In the absence of pruning, it would always be possible, by duplicating parameter settings that were inherited and laying out the groups in depth-first traversal order, to transform any configuration file into an entirely equivalent one that contains no nested diff --git a/doc/history b/doc/history index 63090971f..447aafafb 100644 --- a/doc/history +++ b/doc/history @@ -1,6 +1,6 @@ This file contains a few messages of historical interest. Some of the information in these messages is out of date (e.g., you don't need any -other software, ihave/sendme is suported, etc); see the README and +other software, ihave/sendme is supported, etc); see the README and installation manual. The first is a mail message I sent as soon as I got the idea. diff --git a/doc/history-innfeed b/doc/history-innfeed index 74e51478c..35712b463 100644 --- a/doc/history-innfeed +++ b/doc/history-innfeed @@ -3,7 +3,7 @@ It is written in ANSI C and tries to be POSIX.1 compliant. This software was originally written and maintained by James Brister and is now part of INN. The features of it are: - 1. Handles the STREAM extenstion to NNTP. + 1. Handles the STREAM extension to NNTP. 2. Will open multiple connections to the remote host to parallel feed. 3. Will handle multiple remote hosts. @@ -88,7 +88,7 @@ Changes for 0.10 3. Signal handling is changed so that they are more synchronous with other activity. This should stop the frequent core-dumps - that occured when running in funnel file mode and sending + that occurred when running in funnel file mode and sending SIGTERM or SIGALRM. 4. A bug related to zero-length articles was fixed. They will now be @@ -258,7 +258,7 @@ Changes for 0.8.4 Changes for version 0.8.1 1. various bug fixes. - 2. core files generated by ASSERT are (possibly) put in a seperate + 2. core files generated by ASSERT are (possibly) put in a separate directory to ease debugging are Changes for version 0.8 @@ -343,7 +343,7 @@ Bugs/Problems/Notes etc: 5. Adding a backlog file by hand does not cause extra Connections to be automatically created, only the existing Connections will use the file. If the extra load requires new Connections to be built - when innd delivers new articles for tranmission, then they too + when innd delivers new articles for transmission, then they too will use the file, but this a side effect and not a direct consequence. This means if you want to run in '-x' mode, then make sure your config file entry states the correct number of @@ -368,7 +368,7 @@ Futures: 2. The config file will be revamped to allow for more global options etc and run-time configuration. Too much is compile-time - dependant at the moment. + dependent at the moment. 3. The connection retry time will get more sophisticated to catch problems like the nnrpd issue mentioned above. diff --git a/expire/fastrm.c b/expire/fastrm.c index 6b4c459f1..537db01c3 100644 --- a/expire/fastrm.c +++ b/expire/fastrm.c @@ -568,7 +568,7 @@ unlink_filelist(filelist *list, int filecount) time the operating system spends doing string compares trying to find the file to be removed in the directory. This is often an O(n) operation. Note that this optimization may slightly slow more - effecient operating systems. */ + efficient operating systems. */ dir = opendir(prefix_len == 0 ? "." : prefix_dir); if (dir == NULL) { if (prefix_len > 0 && prefix_dir[0] == '/') diff --git a/frontends/encode.c b/frontends/encode.c index 1ada204a8..69e97aa2a 100644 --- a/frontends/encode.c +++ b/frontends/encode.c @@ -4,7 +4,7 @@ ** ** The encoding uses characters from 0x20 (' ') through 0x7A ('z'). ** (That fits nicely into the UUCP 'f' protocol by Piet Beertema.) First, -** expand three eight-bit charcters into four six-bit ones. Collect +** expand three eight-bit characters into four six-bit ones. Collect ** until we have 13, and spread the last one over the first 12, so that ** we have 12 6.5-bit characters. Since there are very few half-bit ** machines, collect them into pairs, making six 13-bit characters. We diff --git a/frontends/ovdb_stat.c b/frontends/ovdb_stat.c index fdf4f9b85..680dc6fb4 100644 --- a/frontends/ovdb_stat.c +++ b/frontends/ovdb_stat.c @@ -244,7 +244,7 @@ end_table(void) puts("

"); } -/* Substracting (char *) 0 for alignment purpose is supported by compilers +/* Subtracting (char *) 0 for alignment purpose is supported by compilers * like GCC or Clang, but is undefined behaviour by the C Standard as it is * unknown whether all hardware platforms can actually process such pointer * arithmetic (many, if not all, can anyway). */ diff --git a/frontends/rnews.c b/frontends/rnews.c index a504f4db6..389d5b0c4 100644 --- a/frontends/rnews.c +++ b/frontends/rnews.c @@ -661,7 +661,7 @@ Unspool(void) continue; } - /* Make sure multiple Unspools don't stomp on eachother. */ + /* Make sure multiple Unspools don't stomp on each other. */ if (!inn_lock_file(fd, INN_LOCK_WRITE, 0)) { close(fd); continue; diff --git a/include/inn/innconf.h b/include/inn/innconf.h index 9a9d9b01e..ebb7ec62c 100644 --- a/include/inn/innconf.h +++ b/include/inn/innconf.h @@ -83,7 +83,7 @@ struct innconf { unsigned long ovflushcount; /* Articles between buffindexed flushes */ char *ovgrouppat; /* Newsgroups to store overview for */ char *ovmethod; /* Which overview method to use */ - bool storeonxref; /* SMstore use Xref to detemine class? */ + bool storeonxref; /* SMstore use Xref to determine class? */ bool useoverchan; /* overchan write the overview, not innd? */ bool wireformat; /* Store tradspool articles in wire format? */ bool xrefslave; /* Act as a slave of another server? */ @@ -217,7 +217,7 @@ struct innconf { char *pathlog; /* Log files */ char *pathnews; /* Home directory for news user */ char *pathoutgoing; /* Outgoing news batch files */ - char *pathoverview; /* Overview infomation */ + char *pathoverview; /* Overview information */ char *pathrun; /* Runtime state and sockets */ char *pathspool; /* Root of news spool hierarchy */ char *pathtmp; /* Temporary files for the news system */ diff --git a/include/inn/tst.h b/include/inn/tst.h index a70cbc4ab..1096c94c2 100644 --- a/include/inn/tst.h +++ b/include/inn/tst.h @@ -63,7 +63,7 @@ struct tst; struct tst *tst_init(int width); /* Insert a value into the tree. If the key already exists in the tree, - option determiens the behavior. If set to TST_REPLACE, the data for that + option determines the behavior. If set to TST_REPLACE, the data for that key is replaced with the new data value and the old value is returned in exist_ptr. Otherwise, TST_DUPLICATE_KEY is returned. If key is zero length, TST_NULL_KEY is returned. If data is NULL, TST_NULL_DATA is diff --git a/innd/README b/innd/README index 7ae4e5b58..37342b4ac 100644 --- a/innd/README +++ b/innd/README @@ -58,7 +58,7 @@ Core Channel Handling with open file descriptors, and three file descriptor sets. Each channel is generally in one of the three sets (reading, writing, or sleeping) at any given time. The states should generally be - considered mutually exclusive, since NNTP is not asychronous and a + considered mutually exclusive, since NNTP is not asynchronous and a channel that's reading and writing at the same time is liable to deadlock, but the core code doesn't assume that. @@ -72,7 +72,7 @@ Core Channel Handling Reading is handled by the channel itself, since some channels don't just read data from their file descriptor, but CHANreadtext is - provided for channels to call from their reader fuctions if they want + provided for channels to call from their reader functions if they want to read normally. CHANreadtext puts the data into the channel's input buffer and handles resizing and compacting the buffer as needed. To register as a reading channel, the channel calls RCHANadd, and then diff --git a/innd/art.c b/innd/art.c index d4d33620a..04393c7f3 100644 --- a/innd/art.c +++ b/innd/art.c @@ -729,7 +729,7 @@ ARTcheckheader(CHANNEL *cp, int size) /* -** Clean up data field where article informations are stored. +** Clean up data field where article information are stored. ** This must be called before article processing. */ void diff --git a/innd/innd.h b/innd/innd.h index 335069561..97e7b08d7 100644 --- a/innd/innd.h +++ b/innd/innd.h @@ -569,7 +569,7 @@ typedef struct _PROCESS { */ typedef struct _WIP { HASH MessageID; /* Hash of the messageid. Doing it like - this saves us from haveing to allocate + this saves us from having to allocate and deallocate memory a lot, and also means lookups are faster. */ time_t Timestamp; /* Time we last looked at this MessageID */ diff --git a/innd/nc.c b/innd/nc.c index 6f7b86ec5..61adfd46c 100644 --- a/innd/nc.c +++ b/innd/nc.c @@ -1429,7 +1429,7 @@ NCproc(CHANNEL *cp) if (cp->Next - cp->Start > innconf->datamovethreshold || (innconf->maxartsize != 0 && cp->Size > (float) innconf->maxartsize)) { - /* avoid buffer extention for ever */ + /* avoid buffer extension for ever */ movedata = true; } else { movedata = false; @@ -1835,7 +1835,7 @@ NCcreate(int fd, bool MustAuthorize, bool IsLocal) /* -** These modules support the streaming option to tranfer articles +** These modules support the streaming option to transfer articles ** faster. */ diff --git a/innd/util.c b/innd/util.c index d37b6b8e0..aa0433e31 100644 --- a/innd/util.c +++ b/innd/util.c @@ -126,7 +126,7 @@ CommaSplit(char *text) void SetupListBuffer(int size, LISTBUFFER *list) { - /* get space for data to be splitted */ + /* get space for data to be split */ if (list->Data == NULL) { list->DataLength = size; list->Data = xmalloc(list->DataLength + 1); diff --git a/innd/wip.c b/innd/wip.c index bd6a4561f..4ad5cde8f 100644 --- a/innd/wip.c +++ b/innd/wip.c @@ -22,8 +22,8 @@ WIPsetup(void) } /* - * Add a new entry into the table. It is the responsiblity of the applications - * to call WIPinprogress or WIPbyid first. + * Add a new entry into the table. It is the responsibility of the + * applications to call WIPinprogress or WIPbyid first. */ WIP * WIPnew(const char *messageid, CHANNEL *cp) diff --git a/innfeed/article.c b/innfeed/article.c index 9256e6679..971c6eab0 100644 --- a/innfeed/article.c +++ b/innfeed/article.c @@ -56,7 +56,7 @@ struct article_s { char *fname; /* the file name of the article */ char *msgid; /* the msgid of the article (INN tells us) */ Buffer contents; /* the buffer of the actual on disk stuff */ - Buffer *nntpBuffers; /* list of buffers for transmisson */ + Buffer *nntpBuffers; /* list of buffers for transmission */ MapInfo mapInfo; /* arthandle and mMapping */ bool loggedMissing; /* true if article is missing and we logged */ bool articleOk; /* true until we know otherwise. */ @@ -785,7 +785,7 @@ fillContents(Article article) } - /* If we're not useing storage api, we should close a valid file descriptor + /* If we're not using storage api, we should close a valid file descriptor */ if (!arthandle && (fd >= 0)) close(fd); diff --git a/innfeed/article.h b/innfeed/article.h index d7870dddf..2eeee2653 100644 --- a/innfeed/article.h +++ b/innfeed/article.h @@ -9,7 +9,7 @@ ** ** When an Article is created there's a chance that another copy of it ** already exists. For example if the Article is pulled out of a Tape for a -** particular host it may already be in existance in some other host. This +** particular host it may already be in existence in some other host. This ** class will manage this situation to prevent multiple copies of the article ** being in core. */ @@ -64,7 +64,7 @@ unsigned int artNntpBufferCount(Article article); /* tell the Article class to log (or not) missing articles as they occur. */ void artLogMissingArticles(bool val); -/* if VAL is true, then when an article is read off disk the necesary +/* if VAL is true, then when an article is read off disk the necessary carriage returns are inserted instead of setting up iovec-style buffers for writev. Useful for systems like solaris that have very small max number of iovecs that writev can take. Must be called only once before diff --git a/innfeed/buffer.h b/innfeed/buffer.h index 86a2215cb..cddc85ca0 100644 --- a/innfeed/buffer.h +++ b/innfeed/buffer.h @@ -33,7 +33,7 @@ Buffer newBufferByCharP(const char *ptr, size_t size, size_t dataSize); /* * give up interest in the Buffer. Decrement refcount and delete if no - * more referants + * more referents */ void delBuffer(Buffer buff); diff --git a/innfeed/connection.c b/innfeed/connection.c index 865ad2f78..c2c626046 100644 --- a/innfeed/connection.c +++ b/innfeed/connection.c @@ -4,7 +4,7 @@ ** Written by James Brister ** ** The Connection object is what manages the NNTP protocol. If the remote -** doesn't do streaming, then the standard IHAVE lock-step protcol is +** doesn't do streaming, then the standard IHAVE lock-step protocol is ** performed. In the streaming situation we have two cases. One where we must ** send CHECK commands, and the other where we can directly send TAKETHIS ** commands without a prior CHECK. @@ -805,7 +805,7 @@ cxnClose(Connection cxn) } -/* This is what the Host calls to get us to tranfer an article. If +/* This is what the Host calls to get us to transfer an article. If * we're running the IHAVE sequence, then we can't take it if we've * got an article already. If we're running the CHECK/TAKETHIS * sequence, then we'll take as many as we can (up to our MAXCHECK @@ -1721,7 +1721,7 @@ getModeResponse(EndPoint e, IoStatus i, Buffer *b, void *d) break; } - /* now we consider ourselves completly connected. */ + /* now we consider ourselves completely connected. */ cxn->timeCon = theTime(); cxn->timeCon_checkpoint = theTime(); @@ -1937,7 +1937,7 @@ responseIsRead(EndPoint e, IoStatus i, Buffer *b, void *d) break; - case 235: /* article transfered OK (IHAVE-body) */ + case 235: /* article transferred OK (IHAVE-body) */ processResponse235(cxn, response); break; @@ -2801,7 +2801,7 @@ cxnSetCheckThresholds(Connection cxn, double lowFilter, double highFilter, /* - * Blow away the connection gracelessly and immedately clean up + * Blow away the connection gracelessly and immediately clean up */ void cxnNuke(Connection cxn) @@ -2938,7 +2938,7 @@ processResponse235(Connection cxn, char *response UNUSED) /* - * process the "send article to be transfered" response to the IHAVE. + * process the "send article to be transferred" response to the IHAVE. */ static void processResponse335(Connection cxn, char *response UNUSED) @@ -3347,7 +3347,7 @@ noSuchMessageId(Connection cxn, unsigned int responseCode, const char *msgid, /* - * a processing error has occured (for example in parsing a response), or + * a processing error has occurred (for example in parsing a response), or * we're at the end of the FSM and we're cleaning up. */ static void @@ -3414,7 +3414,7 @@ prepareReopenCbk(Connection cxn) /* - * (re)set all state variables to inital condition. + * (re)set all state variables to initial condition. */ static void resetConnection(Connection cxn) @@ -3567,7 +3567,7 @@ doSomeWrites(Connection cxn) /* Queue up a buffer with the IHAVE command in it for the article at - * the head of the transmisson queue. + * the head of the transmission queue. * * If the article is missing, then the Host will be notified and * another article may be put on the Connections queue. This new @@ -4086,7 +4086,7 @@ delConnection(Connection cxn) free(cxn); if (shutDown) { - /* exit program if that was the last connexion for the last host */ + /* exit program if that was the last connection for the last host */ /* XXX what about if there are ever multiple listeners? XXX this will be executed if all hosts on only one of the XXX listeners have gone */ @@ -4430,7 +4430,7 @@ artHolderByMsgId(const char *msgid, ArtHolder head) /* - * Randomize a numeber by the given percentage + * Randomize a number by the given percentage */ static int diff --git a/innfeed/connection.h b/innfeed/connection.h index 4f7bb2029..49ae8a1a4 100644 --- a/innfeed/connection.h +++ b/innfeed/connection.h @@ -74,7 +74,7 @@ void cxnClose(Connection cxn); deletes itself */ void cxnTerminate(Connection cxn); -/* Blow away the connection gracelessly and immedately clean up */ +/* Blow away the connection gracelessly and immediately clean up */ void cxnNuke(Connection cxn); /* Tells the Connection to take the article and handle its diff --git a/innfeed/endpoint.c b/innfeed/endpoint.c index 0c0f7f62e..365e2922d 100644 --- a/innfeed/endpoint.c +++ b/innfeed/endpoint.c @@ -149,7 +149,7 @@ static int timeoutQueueLength; /* Create a new EndPoint and hook it to the give file descriptor. All fields are initialized to appropriate values. On the first time this function is called the global data structs that manages lists of - endpoints are intialized. */ + endpoints are initialized. */ static bool inited = false; EndPoint @@ -629,7 +629,7 @@ Run(void) FD_CLR(fd, &rdSet); - /* incase callback wants to issue read */ + /* in case callback wants to issue read */ ep->inBuffer = NULL; if (ep->inCbk != NULL) @@ -662,7 +662,7 @@ Run(void) FD_CLR(fd, &wrSet); - /* incase callback wants to issue a write */ + /* in case callback wants to issue a write */ ep->outBuffer = NULL; if (ep->outDoneCbk != NULL) @@ -962,7 +962,7 @@ doWrite(EndPoint endp) endp->outIndex = 0; writeAmt -= vp[idx].iov_len; } else { - /* this buffer was not completly written */ + /* this buffer was not completely written */ endp->outIndex += writeAmt; writeAmt = 0; } diff --git a/innfeed/endpoint.h b/innfeed/endpoint.h index 15ad354eb..083ee5b8b 100644 --- a/innfeed/endpoint.h +++ b/innfeed/endpoint.h @@ -6,7 +6,7 @@ ** The EndPoint objects are encapsulations of file descriptors that normally ** do blocking I/O (i.e. NOT fd's hooked to a disk file). The EndPoint class ** provides methods for requesting read/writes to happen when next possible -** and for the requestor to be notified when the I/O is complete (or failed +** and for the requester to be notified when the I/O is complete (or failed ** for some reason). Facilities for timeout notifications are provided too. ** ** We should add a way to cancel prepared read/writes. @@ -108,7 +108,7 @@ int prepareRead(EndPoint endp, Buffer *buffers, EndpRWCB func, * passed through to it whenever any data is written except for the * final write. The DONE callback function will be called and the * CLIENTDATA value will be passed through to it after the final write. - * Returns non-zero if scheduled succesfully. + * Returns non-zero if scheduled successfully. */ int prepareWrite(EndPoint endp, Buffer *buffers, EndpRWCB progress, EndpRWCB done, void *clientData); @@ -137,7 +137,7 @@ void *addWorkCallback(EndPoint endp, EndpWorkCbk cbk, void *data); void setSigHandler(int signum, void (*ptr)(int)); /* remove the timeout that was previously requested. Returns true if - succesfully removed, false otherwise. 0 is a legal parameter value, in + successfully removed, false otherwise. 0 is a legal parameter value, in which case the function simply returns. */ bool removeTimeout(TimeoutId tid); diff --git a/innfeed/imap_connection.c b/innfeed/imap_connection.c index bfd0fae94..9629cbfdb 100644 --- a/innfeed/imap_connection.c +++ b/innfeed/imap_connection.c @@ -8,7 +8,7 @@ ** performs via IMAP. This means it has 2 active connections at any given ** time and 2 queues. ** -** When an article comes in it is immediatly placed in the lmtp queue. When +** When an article comes in it is immediately placed in the lmtp queue. When ** an article is picked off the lmtp queue for processing first check if it's ** a control message. If so, place it in the IMAP queue. If not, attempt to ** deliver via LMTP. @@ -613,7 +613,7 @@ AddToQueue(Q_t *q, void *item, control_type_t type, int addsmsg, bool must) * Pop an item from the queue * * q - the queue to pop from - * item - where the item shall be placed upon sucess + * item - where the item shall be placed upon success * */ @@ -2637,7 +2637,7 @@ imap_sendSearch(connection_t *cxn, char *msgid) imap_GetTag(cxn); - /* preform search */ + /* perform search */ tosend = concat(cxn->imap_currentTag, " UID SEARCH header \"Message-ID\" \"", msgid, "\"\r\n", (char *) 0); @@ -4182,7 +4182,7 @@ delConnection(Connection cxn) free(cxn); if (shutDown) { - /* exit program if that was the last connexion for the last host */ + /* exit program if that was the last connection for the last host */ /* XXX what about if there are ever multiple listeners? XXX this will be executed if all hosts on only one of the XXX listeners have gone */ @@ -4373,7 +4373,7 @@ cxnTerminate(Connection cxn) QuitIfIdle(cxn); } -/* Blow away the connection gracelessly and immedately clean up */ +/* Blow away the connection gracelessly and immediately clean up */ void cxnNuke(Connection cxn) { diff --git a/innfeed/innlistener.c b/innfeed/innlistener.c index 2852bd254..8928505ef 100644 --- a/innfeed/innlistener.c +++ b/innfeed/innlistener.c @@ -534,7 +534,7 @@ newArticleCommand(EndPoint ep, IoStatus i, Buffer *buffs, void *data) unsigned int leftAmt = blen - (cmd - bbase); ASSERT(cmd != bbase); - /* first we shift whats left in the buffer down to the bottom */ + /* first we shift what's left in the buffer down to the bottom */ memmove(bbase, cmd, leftAmt); bufferSetDataSize(buffs[0], leftAmt); @@ -681,7 +681,7 @@ openDroppedArticleFile(void) droppedFileCount + 'A', (int) myPid); if ((droppedFp = fopen(dropArtFile, "w")) == NULL) { - syswarn("ME cant open %s: loosing articles", dropArtFile); + syswarn("ME cant open %s: losing articles", dropArtFile); free(dropArtFile); dropArtFile = NULL; diff --git a/innfeed/innlistener.h b/innfeed/innlistener.h index 42a4d0fa4..06b2b82a9 100644 --- a/innfeed/innlistener.h +++ b/innfeed/innlistener.h @@ -30,7 +30,7 @@ extern bool fastExit; InnListener newListener(EndPoint endp, bool isDummy, bool dynamicPeers); /* print some useful debugging information about the Listener and all its - * Hosts and all their Connecitons/Article/Buffers etc. to the given FILE. + * Hosts and all their Connections/Article/Buffers etc. to the given FILE. */ void gPrintListenerInfo(FILE *fp, unsigned int indentAmt); void printListenerInfo(InnListener listener, FILE *fp, unsigned int indentAmt); diff --git a/innfeed/main.c b/innfeed/main.c index 52266dccd..192a954e8 100644 --- a/innfeed/main.c +++ b/innfeed/main.c @@ -246,7 +246,7 @@ main(int argc, char **argv) without doing this, if the descriptors were closed then the freopen calls on some systems (like BSDI 2.1) will really close - whatever has aquired the stdio descriptors, such as the socket + whatever has acquired the stdio descriptors, such as the socket to syslogd. XXX possible problems: what if fd 0 is closed but no inputFile, @@ -705,7 +705,7 @@ gprintinfo(void) #endif timeToString(now, nowString, sizeof(nowString)); - fprintf(fp, "----------------------------System snaphot taken at: %s\n\n", + fprintf(fp, "----------------------------System snapshot taken at: %s\n\n", nowString); gPrintListenerInfo(fp, 0); fprintf(fp, "\n\n\n\n"); diff --git a/lib/confparse.c b/lib/confparse.c index af40a8802..97538fa98 100644 --- a/lib/confparse.c +++ b/lib/confparse.c @@ -1513,7 +1513,7 @@ convert_string(struct config_parameter *param, const char *file, void *result) /* -** Convert a given parameter value to a list, returning true if succcessful +** Convert a given parameter value to a list, returning true if successful ** and false otherwise. */ static bool diff --git a/lib/date.c b/lib/date.c index dfdf9b44f..1984e5440 100644 --- a/lib/date.c +++ b/lib/date.c @@ -282,7 +282,7 @@ makedate(time_t date, bool local, char *buff, size_t buflen) /* ** Given a struct tm representing a calendar time in UTC, convert it to ** seconds since epoch. Returns (time_t) -1 if the time is not -** convertable. Note that this function does not canonicalize the provided +** convertible. Note that this function does not canonicalize the provided ** struct tm, nor does it allow out of range values or years before 1970. */ static time_t diff --git a/lib/dbz.c b/lib/dbz.c index 222f3bb62..17677d1c5 100644 --- a/lib/dbz.c +++ b/lib/dbz.c @@ -6,7 +6,7 @@ ** and don't hold me responsible for any problems with it. ** ** Hacked on by gdb@ninja.UUCP (David Butler); Sun Jun 5 00:27:08 CDT 1988 -** Various improvments + INCORE by moraes@ai.toronto.edu (Mark Moraes) +** Various improvements + INCORE by moraes@ai.toronto.edu (Mark Moraes) ** Major reworking by Henry Spencer as part of the C News project. ** ** Minor lint and CodeCenter (Saber) fluff removal by Rich $alz @@ -43,7 +43,7 @@ ** performance disaster when the table starts to get full, so a complication ** is introduced. Each file actually contains one *or more* tables, stored ** sequentially in the files, and the length of the linear-probe sequences is -** limited. The search (for an existing item or an empy slot always starts +** limited. The search (for an existing item or an empty slot always starts ** in the first table of the hash file, and whenever MAXRUN probes have been ** done in table N, probing continues in table N+1. It is best not to ** overflow into more than 1-2 tables or else massive performance degradation @@ -278,7 +278,7 @@ static char *basefname; /* name for not-yet-opened base file */ static hash_table pagtab; /* pag hash table, stores hash + offset */ #else static hash_table idxtab; /* index hash table, used for data retrieval */ -static hash_table etab; /* existance hash table, used for existance checks */ +static hash_table etab; /* existence hash table, used for existence checks */ #endif static bool dirty; /* has a store() been done? */ static erec empty_rec; /* empty rec to compare against @@ -1252,7 +1252,7 @@ putconf(FILE *f, dbzconfig *cp) /* getcore - try to set up an in-core copy of file * - * Returns: pointer to copy of file or NULL on errror + * Returns: pointer to copy of file or NULL on error */ static bool getcore(hash_table *tab) @@ -1770,7 +1770,7 @@ main(int argc, char *argv[]) line++, where = ftello(fpi)) { if (*ibuf == '<') { if ((p = strchr(ibuf, '\t')) == NULL) { - fprintf(stderr, "ignoreing bad line: %s\n", ibuf); + fprintf(stderr, "ignoring bad line: %s\n", ibuf); continue; } *p = '\0'; diff --git a/lib/md5.c b/lib/md5.c index 306b21e44..778d4cf86 100644 --- a/lib/md5.c +++ b/lib/md5.c @@ -16,7 +16,7 @@ ** 16 bytes into which to put the digest. md5_hash does the above ** internally for you and is the most convenient interface; the interface ** described above, however, is better when all of the data to hash isn't -** available neatly in a single buffer (such as hashing data aquired a +** available neatly in a single buffer (such as hashing data acquired a ** block at a time). ** ** For information about MD5, see RFC 1321. diff --git a/lib/nntp.c b/lib/nntp.c index efea0a31c..760abc17a 100644 --- a/lib/nntp.c +++ b/lib/nntp.c @@ -346,7 +346,7 @@ nntp_send_line(struct nntp *nntp, const char *format, ...) /* -** The same as nntp_send_line, but don't flush after sending the repsonse. +** The same as nntp_send_line, but don't flush after sending the response. ** Used for accumulating multiline responses, mostly. */ bool diff --git a/lib/tst.c b/lib/tst.c index 876e2f191..6afa66d01 100644 --- a/lib/tst.c +++ b/lib/tst.c @@ -273,7 +273,7 @@ tst_search(struct tst *tst, const unsigned char *key) /* ** tst_delete deletes the string key from the tree if it exists and returns -** the data pointer assocaited with that key, or NULL if it wasn't found. +** the data pointer associated with that key, or NULL if it wasn't found. */ void * tst_delete(struct tst *tst, const unsigned char *key) diff --git a/m4/libtool.m4 b/m4/libtool.m4 index e7b683345..3066bdd98 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -616,7 +616,7 @@ m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT # LT_OUTPUT # --------- # This macro allows early generation of the libtool script (before -# AC_OUTPUT is called), incase it is used in configure for compilation +# AC_OUTPUT is called), in case it is used in configure for compilation # tests. AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} @@ -653,7 +653,7 @@ configured by $[0], generated by m4_PACKAGE_STRING. Copyright (C) 2011 Free Software Foundation, Inc. This config.lt script is free software; the Free Software Foundation -gives unlimited permision to copy, distribute and modify it." +gives unlimited permission to copy, distribute and modify it." while test 0 != $[#] do @@ -1494,7 +1494,7 @@ _LT_DECL([], [AR], [1], [The archiver]) # Use ARFLAGS variable as AR's operation code to sync the variable naming with # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have -# higher priority because thats what people were doing historically (setting +# higher priority because that's what people were doing historically (setting # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS # variable obsoleted/removed. @@ -2886,7 +2886,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) # before this can be enabled. hardcode_into_libs=yes - # Ideally, we could use ldconfig to report *all* directores which are + # Ideally, we could use ldconfig to report *all* directories which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, diff --git a/nnrpd/article.c b/nnrpd/article.c index cb7d17b34..cfb8d1d3f 100644 --- a/nnrpd/article.c +++ b/nnrpd/article.c @@ -294,7 +294,7 @@ ARTopen(ARTNUM artnum) static ARTNUM save_artnum; TOKEN token; - /* Re-use article if it's the same one. */ + /* Reuse article if it's the same one. */ if (save_artnum == artnum) { if (ARThandle) return true; diff --git a/nnrpd/nnrpd.c b/nnrpd/nnrpd.c index db48eb2c7..7c0b29834 100644 --- a/nnrpd/nnrpd.c +++ b/nnrpd/nnrpd.c @@ -411,7 +411,7 @@ CMDcapabilities(int ac, char *av[]) #ifdef HAVE_OPENSSL } else { # ifdef HAVE_SASL - /* Remove unsecure PLAIN, LOGIN and EXTERNAL SASL mechanisms, + /* Remove insecure PLAIN, LOGIN and EXTERNAL SASL mechanisms, * if compiled with TLS support and a TLS layer is not active. */ if (mechlist != NULL) { diff --git a/nnrpd/perl.c b/nnrpd/perl.c index ca78c2db8..6776abe5f 100644 --- a/nnrpd/perl.c +++ b/nnrpd/perl.c @@ -281,7 +281,7 @@ perlAccess(char *user, struct vector *access_vec) SPAGAIN; - if (rc == 0) { /* Error occured, same as checking $@. */ + if (rc == 0) { /* Error occurred, same as checking $@. */ errsv = ERRSV; syslog(L_ERROR, "Perl function access died: %s", SvPV_nolen(errsv)); Reply("%d Internal error (1). Goodbye!\r\n", NNTP_FAIL_TERMINATING); diff --git a/nnrpd/tls.c b/nnrpd/tls.c index f000d890f..b32ec8067 100644 --- a/nnrpd/tls.c +++ b/nnrpd/tls.c @@ -207,7 +207,7 @@ tmp_dh_cb(SSL *s UNUSED, int export UNUSED, int keylength UNUSED) /* Security levels have been introduced in OpenSSL 1.1.0 and * LibreSSL 3.6.0. * Well, as this part of code is no longer active for these versions, - * only keep it for possible future re-use. */ + * only keep it for possible future reuse. */ # if OPENSSL_VERSION_NUMBER >= 0x010100000L \ || (defined(LIBRESSL_VERSION_NUMBER) \ && LIBRESSL_VERSION_NUMBER > 0x030600000L) @@ -870,7 +870,7 @@ bio_dump_cb(BIO *bio, int cmd, const char *argp, size_t len, int argi UNUSED, /* ** This is the actual startup routine for the connection. We expect -** that the buffers are flushed and the "382 Continue with TLS negociation" +** that the buffers are flushed and the "382 Continue with TLS negotiation" ** was sent to the client (if using STARTTLS), so that we can immediately ** start the TLS handshake process. ** diff --git a/samples/filter_innd.pl b/samples/filter_innd.pl index 65ca967c4..6f8dbb8d5 100644 --- a/samples/filter_innd.pl +++ b/samples/filter_innd.pl @@ -1,6 +1,6 @@ # Sample Perl filtering file for the innd hooks. # -# This file gets loaded at innd process startup, and everytime a +# This file gets loaded at innd process startup, and every time a # "ctlinnd reload filter.perl 'reason'" or a # "ctlinnd reload all 'reason'" is done. # @@ -201,11 +201,11 @@ sub filter_end { ## delete($history{shift(@history)}); ## } ## -##It is pretty successfull in detecting and refusing excessive multi-posting. +##It is pretty successful in detecting and refusing excessive multi-posting. ##Same sender, same subject, appearing more than 10 times without the last ##1000 articles gets junked. ## -##Already catched a few hundreds : +##Already caught a few hundreds : ## ##Nov 20 08:27:23.175 - vishnu.jussieu.fr <3292ac9a.4064710@nntp.cts.com> ## 437 EMP rejected (btr@trenet.com Be a Beta Tester!) diff --git a/scripts/innreport.in b/scripts/innreport.in index d0095a8aa..ffc7453bf 100644 --- a/scripts/innreport.in +++ b/scripts/innreport.in @@ -127,7 +127,7 @@ my $index = "index.html"; my $CYCLE = 0; ## separator between hours-minutes-seconds in filenames -## (normaly a ":" but some web-browsers (Lynx, MS-IE, Mosaic) can't read it) +## (normally a ":" but some web-browsers (Lynx, MS-IE, Mosaic) can't read it) ## Warning: never use "/". Use only a _valid_ filename char. my $SEPARATOR = "."; diff --git a/scripts/innreport_inn.pm b/scripts/innreport_inn.pm index cc26a4a10..822a01c9e 100644 --- a/scripts/innreport_inn.pm +++ b/scripts/innreport_inn.pm @@ -668,7 +668,7 @@ sub collect($$$$$$) { $innd_stored_size{$server} += $accptsize; $innd_duplicated_size{$server} += $dupsize; # The size of duplicated articles is included in the rejected - # volume. Substract it in order to generate right totals, + # volume. Subtract it in order to generate right totals, # average article sizes and graphs. $innd_rejected_size{$server} += ($rjctsize || 0) - $dupsize; } @@ -2479,7 +2479,7 @@ sub adjust($$) { { # Since the checkpoint counts include entries for all server # connections, check to see if any checkpoint server entries are not - # also in %innd_connect. Add any missing servers (persistant servers + # also in %innd_connect. Add any missing servers (persistent servers # with no connected log lines) to %innd_connect so that incoming totals # will be properly computed. foreach my $server (keys(%innd_accepted)) { diff --git a/scripts/innshellvars.pl.in b/scripts/innshellvars.pl.in index 693877432..3c1ad5340 100644 --- a/scripts/innshellvars.pl.in +++ b/scripts/innshellvars.pl.in @@ -1,5 +1,5 @@ # -# This package is only kept for compatibility reasons with old softwares. +# This package is only kept for compatibility reasons with old software. # Please use the real INN::Config Perl module instead. # # Author: James Brister -- berkeley-unix -- diff --git a/site/Makefile b/site/Makefile index 4c17bf1f2..6cb0727ec 100644 --- a/site/Makefile +++ b/site/Makefile @@ -7,7 +7,7 @@ top = .. DIFF="diff" # Added a default rule for ".csh" because Digital UNIX has a builtin -# rule which would overwite the innshellvars file. +# rule which would overwrite the innshellvars file. .csh: CTLINND = ${PATHBIN}/ctlinnd diff --git a/storage/cnfs/cnfs.c b/storage/cnfs/cnfs.c index 9fbaee646..1b702057b 100644 --- a/storage/cnfs/cnfs.c +++ b/storage/cnfs/cnfs.c @@ -1951,7 +1951,7 @@ cnfs_next(ARTHANDLE *article, const RETRTYPE amount) private->offset += (off_t) tonextblock; art->arrived = ntohl(cah.arrived); /* Generate a token relative to the previous cycle number when offset is - * where to begin overwritting files, or beyond. */ + * where to begin overwriting files, or beyond. */ token = CNFSMakeToken(cycbuff->name, offset, cycbuff->blksz, (offset >= cycbuff->free) ? cycbuff->cyclenum - 1 : cycbuff->cyclenum, diff --git a/storage/timecaf/README.CAF b/storage/timecaf/README.CAF index 2e8d54624..ba462cb4b 100644 --- a/storage/timecaf/README.CAF +++ b/storage/timecaf/README.CAF @@ -75,7 +75,7 @@ space bitmap, therefore ~1696 blocks, thus ~868KB). Consequently, the maximal length of a CAF file is ~3.5GB. 3. CAFTOCENTs (CAF Table of Contents Entries), 1 per article storable in the file. Each CAFTOCENT gives the article's size, creation time, -and offset in the CAF file. Usually space is alloted in the CAF file +and offset in the CAF file. Usually space is allotted in the CAF file for 262144 CAFTOCENTs, even if the # of articles in the CAF file is nowhere near that amount. The unused CAFTOCENTs are all zeros, and this means CAF files are almost always sparse. diff --git a/storage/timecaf/caf.c b/storage/timecaf/caf.c index 14251af81..733bbc75e 100644 --- a/storage/timecaf/caf.c +++ b/storage/timecaf/caf.c @@ -831,7 +831,7 @@ CAFOpenArtWrite(char *path, ARTNUM *artp, int waitlock, size_t size) ** of loop, because someone else was trying to create at the ** same time. ** Is this the best way to solve this? - ** (Hmm. this condition should be quite rare, occuring only + ** (Hmm. this condition should be quite rare, occurring only ** when two different programs are simultaneously doing ** CAFOpenArtWrite()s, and no CF file exists previously.) */ @@ -985,7 +985,7 @@ CAFStartWriteFd(int fd, ARTNUM *artp, size_t size) /* ** Write out TOC entries for the previous article. Note that we do *not* ** (as was previously done) close the fd; this allows reuse of the fd to write -** another article to this CAF file w/o an (soemwhat expensive) open(). +** another article to this CAF file w/o an (somewhat expensive) open(). */ int diff --git a/storage/tradspool/tradspool.c b/storage/tradspool/tradspool.c index 2c6343631..216836a6b 100644 --- a/storage/tradspool/tradspool.c +++ b/storage/tradspool/tradspool.c @@ -722,7 +722,7 @@ tradspool_store(const ARTHANDLE article, const STORAGECLASS class) close(fd); /* Blah, this is ugly. Have to make symlinks under other pathnames for - * backwards compatiblility purposes. */ + * backwards compatibility purposes. */ if (numxrefs > 1) { for (i = 1; i < numxrefs; ++i) { if ((p = strchr(xrefs[i], ':')) == NULL) @@ -1180,7 +1180,7 @@ tradspool_next(ARTHANDLE *article, const RETRTYPE amount) group/number combination listed in the Xref header field is the canonical path. This will always be true for spools created by this implementation, but for traditional INN 1.x servers, - articles are expired indepedently from each group and may expire + articles are expired independently from each group and may expire out of the first listed newsgroup before other groups. This algorithm will orphan such articles, not adding them to history. diff --git a/tests/lib/canlock-t.c b/tests/lib/canlock-t.c index be8ac3e99..37e060adf 100644 --- a/tests/lib/canlock-t.c +++ b/tests/lib/canlock-t.c @@ -231,7 +231,7 @@ testgen_cancel_key(void) result = gen_cancel_key("cancelling " MID, NULL, "", &canbuff); is_bool(false, result, - "no Cancel-Key generated with mispelled cancel word"); + "no Cancel-Key generated with misspelled cancel word"); result = gen_cancel_key(NULL, NULL, "", &canbuff); is_bool(false, result, diff --git a/tests/lib/confparse-t.c b/tests/lib/confparse-t.c index 1886bc04c..4212429d3 100644 --- a/tests/lib/confparse-t.c +++ b/tests/lib/confparse-t.c @@ -216,7 +216,7 @@ test_warnings_int(int n) /* Test the warning test cases in config/warn-uint, ensuring that they all parse successfully and produce the expected error messages when retrieved - as usigned numbers. Takes the current test count and returns the new test + as unsigned numbers. Takes the current test count and returns the new test count. */ static int test_warnings_uint(int n) diff --git a/tests/storage/archive.t b/tests/storage/archive.t index 2d66618dd..549dfc294 100755 --- a/tests/storage/archive.t +++ b/tests/storage/archive.t @@ -57,7 +57,7 @@ INNCONF=etc/inn.conf export INNCONF mkdir -p spool -# Store the articles so that archive can read them using the strorage API. +# Store the articles so that archive can read them using the storage API. "$sm" -s spool/tokens "$sm" -s >spool/tokens echo '# This is a comment' >>spool/tokens