summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/getnameinfo.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/getnameinfo.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/getnameinfo.3')
-rw-r--r--lib/libc/net/getnameinfo.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3
index 2dd1bce4d61..8aee0716026 100644
--- a/lib/libc/net/getnameinfo.3
+++ b/lib/libc/net/getnameinfo.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getnameinfo.3,v 1.4 2000/01/17 08:16:58 itojun Exp $
+.\" $OpenBSD: getnameinfo.3,v 1.5 2000/01/17 08:20:28 deraadt Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -199,7 +199,7 @@ struct sockaddr *sa; /* input */
char hbuf[NI_MAXHOST], sbuf[NI_MAXSERV];
if (getnameinfo(sa, sa->sa_len, hbuf, sizeof(hbuf), sbuf,
- sizeof(sbuf), NI_NUMERICHOST | NI_NUMERICSERV)) {
+ sizeof(sbuf), NI_NUMERICHOST | NI_NUMERICSERV)) {
errx(1, "could not get numeric hostname");
/*NOTREACHED*/
}
@@ -212,7 +212,7 @@ struct sockaddr *sa; /* input */
char hbuf[NI_MAXHOST];
if (getnameinfo(sa, sa->sa_len, hbuf, sizeof(hbuf), NULL, 0,
- NI_NAMEREQD)) {
+ NI_NAMEREQD)) {
errx(1, "could not resolve hostname");
/*NOTREACHED*/
}