diff options
author | ray <> | 2007-05-20 03:54:52 +0000 |
---|---|---|
committer | ray <> | 2007-05-20 03:54:52 +0000 |
commit | f1f083deae20779ebf4e5e4f52b8581672ac515a (patch) | |
tree | 71b20cf7e1f17a9c23af2b57c5f071cab3c64af8 /src | |
parent | 14136d1cca4c22d993fd1367456e76d961e2c71f (diff) | |
download | openbsd-f1f083deae20779ebf4e5e4f52b8581672ac515a.tar.gz openbsd-f1f083deae20779ebf4e5e4f52b8581672ac515a.tar.bz2 openbsd-f1f083deae20779ebf4e5e4f52b8581672ac515a.zip |
Typos.
OK jmc@.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libc/net/getaddrinfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/net/getaddrinfo.c b/src/lib/libc/net/getaddrinfo.c index 8d92ec955d..0f3b6319f4 100644 --- a/src/lib/libc/net/getaddrinfo.c +++ b/src/lib/libc/net/getaddrinfo.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: getaddrinfo.c,v 1.66 2007/05/18 01:10:59 ray Exp $ */ | 1 | /* $OpenBSD: getaddrinfo.c,v 1.67 2007/05/20 03:54:52 ray Exp $ */ |
2 | /* $KAME: getaddrinfo.c,v 1.31 2000/08/31 17:36:43 itojun Exp $ */ | 2 | /* $KAME: getaddrinfo.c,v 1.31 2000/08/31 17:36:43 itojun Exp $ */ |
3 | 3 | ||
4 | /* | 4 | /* |
@@ -37,7 +37,7 @@ | |||
37 | * in the source code. This is because RFC2553 is silent about which error | 37 | * in the source code. This is because RFC2553 is silent about which error |
38 | * code must be returned for which situation. | 38 | * code must be returned for which situation. |
39 | * - IPv4 classful (shortened) form. RFC2553 is silent about it. XNET 5.2 | 39 | * - IPv4 classful (shortened) form. RFC2553 is silent about it. XNET 5.2 |
40 | * says to use inet_aton() to convert IPv4 numeric to binary (alows | 40 | * says to use inet_aton() to convert IPv4 numeric to binary (allows |
41 | * classful form as a result). | 41 | * classful form as a result). |
42 | * current code - disallow classful form for IPv4 (due to use of inet_pton). | 42 | * current code - disallow classful form for IPv4 (due to use of inet_pton). |
43 | * - freeaddrinfo(NULL). RFC2553 is silent about it. XNET 5.2 says it is | 43 | * - freeaddrinfo(NULL). RFC2553 is silent about it. XNET 5.2 says it is |
@@ -420,7 +420,7 @@ getaddrinfo(const char *hostname, const char *servname, | |||
420 | 420 | ||
421 | /* | 421 | /* |
422 | * hostname as alphabetical name. | 422 | * hostname as alphabetical name. |
423 | * we would like to prefer AF_INET6 than AF_INET, so we'll make a | 423 | * we would like to prefer AF_INET6 than AF_INET, so we'll make an |
424 | * outer loop by AFs. | 424 | * outer loop by AFs. |
425 | */ | 425 | */ |
426 | for (ex = explore; ex->e_af >= 0; ex++) { | 426 | for (ex = explore; ex->e_af >= 0; ex++) { |