Commit 74f0f9a0 authored by Josh Soref's avatar Josh Soref Committed by Simon Kelley

Commment language tweaks.

parent ed6bdb09
......@@ -36,7 +36,7 @@ int extract_name(struct dns_header *header, size_t plen, unsigned char **pp,
if ((l = *p++) == 0)
/* end marker */
{
/* check that there are the correct no of bytes after the name */
/* check that there are the correct no. of bytes after the name */
if (!CHECK_LEN(header, p1 ? p1 : p, plen, extrabytes))
return 0;
......@@ -156,7 +156,7 @@ int in_arpa_name_2_addr(char *namein, struct all_addr *addrp)
memset(addrp, 0, sizeof(struct all_addr));
/* turn name into a series of asciiz strings */
/* j counts no of labels */
/* j counts no. of labels */
for(j = 1,cp1 = name; *namein; cp1++, namein++)
if (*namein == '.')
{
......
......@@ -270,7 +270,7 @@ u16 *rrfilter_desc(int type)
{
/* List of RRtypes which include domains in the data.
0 -> domain
integer -> no of plain bytes
integer -> no. of plain bytes
-1 -> end
zero is not a valid RRtype, so the final entry is returned for
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment