Skip to content

Commit 7fc0434

Browse files
committed
Typo fixes
1 parent 8923f04 commit 7fc0434

File tree

11 files changed

+23
-16
lines changed

11 files changed

+23
-16
lines changed

backends/actsyncd.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# All rights reserved.
1717
#
1818
# Various bug fixes, code and documentation improvements since then
19-
# in 1999-2003, 2007-2009, 2021-2024.
19+
# in 1999-2003, 2007-2009, 2021-2025.
2020
#
2121
# Permission to use and modify is hereby granted so long as this
2222
# notice remains. Use at your own risk. No warranty is implied.
@@ -86,7 +86,7 @@ if [ -z "$ign" ]; then
8686
exit 5
8787
fi
8888

89-
# Keep ftppath for backwards-compatibility.
89+
# Keep ftppath for backward compatibility.
9090
ftp="$(sed -n -e 's/^ftppath=[ ]*\/*//p' $cfg | tail -n 1)"
9191
path="$(sed -n -e 's/^path=[ ]*\/*//p' $cfg | tail -n 1)"
9292
protocol="$(sed -n -e 's/^protocol=[ ]*//p' $cfg \
@@ -103,7 +103,7 @@ if [ -z "$ftp" ] && [ -z "$path" ]; then
103103
fi
104104
fi
105105

106-
# If not NNTP, assume FTP by default for backwards-compatibility.
106+
# If not NNTP, assume FTP by default for backward compatibility.
107107
if [ -z "$protocol" ]; then
108108
protocol="ftp"
109109
fi

backends/batcher.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ main(int ac, char *av[])
292292
Cookie = ftello(stdin) - length;
293293

294294
/* Get lines like "name size". Note that we ignore size but accept
295-
* it for backwards compatibility. */
295+
* it for backward compatibility. */
296296
if ((p = strchr(line, '\n')) == NULL) {
297297
warn("%s skipping %.40s: too long", Host, line);
298298
continue;

backends/ninpaths.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
** This version written by Olaf Titz, Feb. 1997. Public domain.
88
**
99
** Various bug fixes, code and documentation improvements since then
10-
** in 2001-2003, 2005, 2009, 2010, 2013, 2015, 2017, 2018, 2021, 2022, 2024.
10+
** in 2001-2003, 2005, 2009, 2010, 2013, 2015, 2017, 2018, 2021, 2022, 2024,
11+
** 2025.
1112
*/
1213

1314
#include "portable/system.h"
@@ -353,7 +354,7 @@ pathline(char *c)
353354
for (c2 = c; *c2 && *c2 != '!'; c2++)
354355
;
355356
if (c2 - c > MAXHOST - 1)
356-
/* looks broken, dont bother with rest */
357+
/* looks broken, don't bother with rest */
357358
return 0;
358359
while (*c2 == '!')
359360
*c2++ = '\0'; /* skip "!!" too */

configure.ac

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,8 @@ AS_IF([test x"$inn_enable_hardening_flags" = xyes],
888888
INN_PROG_LD_FLAG([-Wl,-z,now],
889889
[LDFLAGS="${LDFLAGS} -Wl,-z,now"], [])])
890890

891-
dnl Now that compiler flags have been checked, remove -Werror from CFLAGS.
891+
dnl Now that compiler flags have been checked, remove -Wunknown-warning-option
892+
dnl from CFLAGS.
892893
CFLAGS=`AS_ECHO(["${CFLAGS}"]) | sed 's/ -Werror=unknown-warning-option//'`
893894

894895
dnl Clean up our LIBS, just for grins.

contrib/thdexpire.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ $opt_f = 50000; # required space in kilobytes
4242
$opt_i = 5000; # required space in inodes
4343
$opt_m = 7; # minimum normal (class 100) time in days
4444
$opt_x = 86400; # absolute minimum hold time in seconds
45-
$opt_N = 0; # dont actually delete articles
45+
$opt_N = 0; # don't actually delete articles
4646
$opt_v = 0; # verbosity level
4747
$opt_M = 0; # install man page
4848
getopts("f:i:m:MNrt:v:x:") || usage();

doc/pod/inn.conf.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ administrators of the news server should be used.
7777

7878
This parameter is not meant to be used to affect the right-hand side
7979
of autogenerated Message-IDs; you have to directly use I<domain> in
80-
readers.conf(5) instead, for backwards-compatible reasons. (The name of this
80+
readers.conf(5) instead, for backward compatibility reasons. (The name of this
8181
parameter in F<readers.conf> will likely be changed in a future major release
8282
to disambiguate its use.)
8383

doc/pod/libinn_dbz.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ The original I<dbz> was written by Jon Zeeff <zeeff@b-tech.ann-arbor.mi.us>.
173173
Later contributions by David Butler and Mark Moraes. Extensive reworking,
174174
including this documentation, by Henry Spencer <henry@zoo.toronto.edu> as part
175175
of the C News project. MD5 code borrowed from RSA. Extensive reworking to
176-
remove backwards compatibility and to add hashes into I<dbz> files by Clayton
176+
remove backward compatibility and to add hashes into I<dbz> files by Clayton
177177
O'Neill <coneill@oneill.net>. Rewritten into POD by Julien Elie.
178178

179179
=head1 SEE ALSO

innfeed/host.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ extern unsigned int hostHighwater;
4646
* CLOSEPERIOD is the number of seconds after connecting that the
4747
* connections should be closed down and reinitialized (due to problems
4848
* with old NNTP servers that hold history files open. Value of 0 means
49-
* dont close down.
49+
* don't close down.
5050
* STREAMING is a boolean flag to tell if the Host wants its Connections to
5151
* do streaming or not.
5252
* LOWPASSHIGH is the high value for the low-pass filter.

lib/dbz.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
** now <david.robinson@sun.com> (January, 1993).
2020
**
2121
** Major reworking by Clayton O'Neill (coneill@oneill.net). Removed all the
22-
** C News and backwards compatible cruft. Ripped out all the tagmask stuff
22+
** C News and backward compatible cruft. Ripped out all the tagmask stuff
2323
** and replaced it with hashed .pag entries. This removes the need for base
2424
** file access. Primary bottleneck now appears to be the hash algorithm and
2525
** search(). You can change DBZ_INTERNAL_HASH_SIZE in dbz.h to increase the

nnrpd/commands.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ CMDauthinfo(int ac, char *av[])
406406
return;
407407
}
408408

409-
/* For backwards compatibility, we return 481 instead of 502 (which had
409+
/* For backward compatibility, we return 481 instead of 502 (which had
410410
* the same meaning as 481 in RFC 2980). */
411411
if (code == NNTP_ERR_ACCESS) {
412412
code = NNTP_FAIL_AUTHINFO_BAD;

0 commit comments

Comments
 (0)