summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/getaddrinfo.3
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2000-01-17 08:20:27 +0000
committerderaadt <deraadt@openbsd.org>2000-01-17 08:20:27 +0000
commitf1158c5eb27243df98a367bcc8a92bfe318e449c (patch)
tree539f4245a0582ff8575434c8d2fd695a75e49b97 /lib/libc/net/getaddrinfo.3
parentsync with latest KAME version. now includes description on scoped addr (diff)
downloadwireguard-openbsd-f1158c5eb27243df98a367bcc8a92bfe318e449c.tar.xz
wireguard-openbsd-f1158c5eb27243df98a367bcc8a92bfe318e449c.zip
indent
Diffstat (limited to 'lib/libc/net/getaddrinfo.3')
-rw-r--r--lib/libc/net/getaddrinfo.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index 35a8ae0d380..7cf1f1a017a 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getaddrinfo.3,v 1.5 2000/01/17 08:16:58 itojun Exp $
+.\" $OpenBSD: getaddrinfo.3,v 1.6 2000/01/17 08:20:27 deraadt Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -350,7 +350,7 @@ if (error) {
s = -1;
for (res = res0; res; res = res->ai_next) {
s = socket(res->ai_family, res->ai_socktype,
- res->ai_protocol);
+ res->ai_protocol);
if (s < 0) {
cause = "socket";
continue;
@@ -394,7 +394,7 @@ if (error) {
nsock = 0;
for (res = res0; res && nsock < MAXSOCK; res = res->ai_next) {
s[nsock] = socket(res->ai_family, res->ai_socktype,
- res->ai_protocol);
+ res->ai_protocol);
if (s[nsock] < 0) {
cause = "socket";
continue;