aboutsummaryrefslogtreecommitdiff
path: root/include/netdb.h
diff options
context:
space:
mode:
authorMike Pritchard <mpp@FreeBSD.org>1996-01-30 23:33:04 +0000
committerMike Pritchard <mpp@FreeBSD.org>1996-01-30 23:33:04 +0000
commit71d9c7815e7a209829578ebc30b63f6e0c64fcf2 (patch)
treef3b155779419dd6521ee9f233a24dbd8a8f88a50 /include/netdb.h
parentdff88dc42001c678fe6956b1416ba61f98c232c7 (diff)
downloadsrc-71d9c7815e7a209829578ebc30b63f6e0c64fcf2.tar.gz
src-71d9c7815e7a209829578ebc30b63f6e0c64fcf2.zip
Notes
Diffstat (limited to 'include/netdb.h')
-rw-r--r--include/netdb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 3fd20df003c1..483570388e81 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)netdb.h 8.1 (Berkeley) 6/2/93
- * $Id: netdb.h,v 1.2 1995/05/30 04:54:41 rgrimes Exp $
+ * $Id: netdb.h,v 1.3 1995/08/20 19:59:12 peter Exp $
* -
* Portions Copyright (c) 1993 by Digital Equipment Corporation.
*
@@ -76,7 +76,7 @@ struct hostent {
int h_addrtype; /* host address type */
int h_length; /* length of address */
char **h_addr_list; /* list of addresses from name server */
-#define h_addr h_addr_list[0] /* address, for backward compatiblity */
+#define h_addr h_addr_list[0] /* address, for backward compatibility */
};
/*
@@ -111,7 +111,7 @@ struct protoent {
#define NETDB_INTERNAL -1 /* see errno */
#define NETDB_SUCCESS 0 /* no problem */
#define HOST_NOT_FOUND 1 /* Authoritative Answer Host not found */
-#define TRY_AGAIN 2 /* Non-Authoritive Host not found, or SERVERFAIL */
+#define TRY_AGAIN 2 /* Non-Authoritative Host not found, or SERVERFAIL */
#define NO_RECOVERY 3 /* Non recoverable errors, FORMERR, REFUSED, NOTIMP */
#define NO_DATA 4 /* Valid name, no data record of requested type */
#define NO_ADDRESS NO_DATA /* no address, look for MX record */