summaryrefslogtreecommitdiff
path: root/test/src
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2017-01-18 11:30:26 -0500
committerPhil Pennock <pdp@exim.org>2017-01-18 11:30:26 -0500
commit4c04137d73637107669e02b21f890387aaa2ef34 (patch)
tree9c3f7724dc5b4eb10b51beae1983cbc6398f015d /test/src
parent5dc309a45b3f266afbe1b8ccc9a066b0f76650a3 (diff)
214 spelling fixes
Diffstat (limited to 'test/src')
-rw-r--r--test/src/fakens.c8
-rw-r--r--test/src/server.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/test/src/fakens.c b/test/src/fakens.c
index e4584c4df..0806136cc 100644
--- a/test/src/fakens.c
+++ b/test/src/fakens.c
@@ -25,7 +25,7 @@ The arguments to the program are:
the DNS record type that is being sought
The output from the program is written to stdout. It is supposed to be in
-exactly the same format as a traditional namserver response (see RFC 1035) so
+exactly the same format as a traditional nameserver response (see RFC 1035) so
that Exim can process it as normal. At present, no compression is used.
Error messages are written to stderr.
@@ -382,7 +382,7 @@ while (fgets(CS buffer, sizeof(buffer), f) != NULL)
rr_sec = TRUE;
p += 7;
}
- else if (Ustrncmp(p, US"AA ", 3) == 0) /* tagged as authoritive */
+ else if (Ustrncmp(p, US"AA ", 3) == 0) /* tagged as authoritative */
{
rr_aa = TRUE;
p += 3;
@@ -773,8 +773,8 @@ if (yield == NO_RECOVERY) goto END_OFF;
header->ancount = htons(count);
/* If the AA bit should be set (as indicated by the AA prefix in the zone file),
-we are expected to return some records in the authortive section. Bind9: If
-there is data in the answer section, the authoritive section contains the NS
+we are expected to return some records in the authoritative section. Bind9: If
+there is data in the answer section, the authoritative section contains the NS
records, otherwise it contains the SOA record. Currently we mimic this
behaviour for the first case (there is some answer record).
*/
diff --git a/test/src/server.c b/test/src/server.c
index 9d00300f1..ce55c5c37 100644
--- a/test/src/server.c
+++ b/test/src/server.c
@@ -661,7 +661,7 @@ for (count = 0; count < connection_count; count++)
n = dlen < sizeof(buffer) ? dlen : sizeof(buffer);
if ((n = read(dup_accept_socket, CS buffer, n)) == 0)
{
- printf("Unxpected EOF read from client\n");
+ printf("Unexpected EOF read from client\n");
s = s->next;
goto END_OFF;
}
@@ -671,7 +671,7 @@ for (count = 0; count < connection_count; count++)
while (dlen-- > 0)
if (fgetc(in) == EOF)
{
- printf("Unxpected EOF read from client\n");
+ printf("Unexpected EOF read from client\n");
s = s->next;
goto END_OFF;
}