diff options
author | peter <peter@FreeBSD.org> | 1998-06-11 09:03:02 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-06-11 09:03:02 +0000 |
commit | 9492d9f3a276bb1ce288f7f1242f55ba381fb5d8 (patch) | |
tree | 1fedca6b8adcc385c524308ec3d4040f66de30c6 /lib/libc/net/inet_net_pton.c | |
parent | a17a83618dae26baf5445f202b4ed0ce247b3f86 (diff) | |
download | FreeBSD-src-9492d9f3a276bb1ce288f7f1242f55ba381fb5d8.zip FreeBSD-src-9492d9f3a276bb1ce288f7f1242f55ba381fb5d8.tar.gz |
Update the resolver parts to bind-8.1.2 level. I have not touched the
getXXXXbyYYYY() interfaces yet.
Obtained from: diff relative to bind-8.1.2 sources
Diffstat (limited to 'lib/libc/net/inet_net_pton.c')
-rw-r--r-- | lib/libc/net/inet_net_pton.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/net/inet_net_pton.c b/lib/libc/net/inet_net_pton.c index 6fd6a06..6718329 100644 --- a/lib/libc/net/inet_net_pton.c +++ b/lib/libc/net/inet_net_pton.c @@ -16,8 +16,8 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static const char orig_rcsid[] = "From Id: inet_net_pton.c,v 8.3 1996/11/11 06:36:52 vixie Exp"; -static const char rcsid[] = "$Id$"; +static const char orig_rcsid[] = "From Id: inet_net_pton.c,v 1.8 1996/11/21 10:28:12 vixie Exp $"; +static const char rcsid[] = "$Id: inet_net_pton.c,v 1.3 1997/02/22 15:00:18 peter Exp $"; #endif #include <sys/types.h> @@ -159,8 +159,7 @@ inet_net_pton_ipv4(src, dst, size) assert(n >= 0 && n <= 9); bits *= 10; bits += n; - } while ((ch = *src++) != '\0' && - isascii(ch) && isdigit(ch)); + } while ((ch = *src++) != '\0' && isascii(ch) && isdigit(ch)); if (ch != '\0') goto enoent; if (bits > 32) |