diff options
author | nectar <nectar@FreeBSD.org> | 2002-05-13 19:31:58 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2002-05-13 19:31:58 +0000 |
commit | e044c1fb924b46fc1bd38b298ebea9ff73ea93a8 (patch) | |
tree | ad4e7f0a2c657d90248bf0c8bd8fac9e5f66a622 /contrib/bind/lib/resolv/res_send.c | |
parent | ebeabb1ba32f14e308ae9aff9a2a7151265259cf (diff) | |
download | FreeBSD-src-e044c1fb924b46fc1bd38b298ebea9ff73ea93a8.zip FreeBSD-src-e044c1fb924b46fc1bd38b298ebea9ff73ea93a8.tar.gz |
Import of ISC BIND 8.3.2-T1B.
Diffstat (limited to 'contrib/bind/lib/resolv/res_send.c')
-rw-r--r-- | contrib/bind/lib/resolv/res_send.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/bind/lib/resolv/res_send.c b/contrib/bind/lib/resolv/res_send.c index 6dfea59..6f0e430 100644 --- a/contrib/bind/lib/resolv/res_send.c +++ b/contrib/bind/lib/resolv/res_send.c @@ -70,7 +70,7 @@ #if defined(LIBC_SCCS) && !defined(lint) static const char sccsid[] = "@(#)res_send.c 8.1 (Berkeley) 6/4/93"; -static const char rcsid[] = "$Id: res_send.c,v 8.48 2001/07/03 06:27:17 marka Exp $"; +static const char rcsid[] = "$Id: res_send.c,v 8.49 2002/03/29 21:50:51 marka Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -521,17 +521,17 @@ get_salen(sa) { #ifdef HAVE_SA_LEN - /* there are people do not set sa_len. be forgibing to them */ + /* There are people do not set sa_len. Be forgiving to them. */ if (sa->sa_len) - return sa->sa_len; + return (sa->sa_len); #endif if (sa->sa_family == AF_INET) - return sizeof(struct sockaddr_in); - else if (sa->sa_family == AF_INET) - return sizeof(struct sockaddr_in6); + return (sizeof(struct sockaddr_in)); + else if (sa->sa_family == AF_INET6) + return (sizeof(struct sockaddr_in6)); else - return 0; /* unknown, die on connect */ + return (0); /* unknown, die on connect */ } /* |