diff options
author | ume <ume@FreeBSD.org> | 2001-05-21 10:05:36 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2001-05-21 10:05:36 +0000 |
commit | a9673773a3dccdd8acdcba3b94a6ab647d085f2f (patch) | |
tree | d704b55587e0937ed4720aa9ae90f058125e6bd0 /lib | |
parent | 39cf58d369279eaf1d11a706f174fdb98fb245e8 (diff) | |
download | FreeBSD-src-a9673773a3dccdd8acdcba3b94a6ab647d085f2f.zip FreeBSD-src-a9673773a3dccdd8acdcba3b94a6ab647d085f2f.tar.gz |
Correct error message of an example.
Obtained from: KAME
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/getaddrinfo.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3 index ef645c5..ec21548 100644 --- a/lib/libc/net/getaddrinfo.3 +++ b/lib/libc/net/getaddrinfo.3 @@ -485,7 +485,7 @@ for (res = res0; res && nsock < MAXSOCK; res = res->ai_next) { } if (bind(s[nsock], res->ai_addr, res->ai_addrlen) < 0) { - cause = "connect"; + cause = "bind"; close(s[nsock]); continue; } |