diff options
author | ume <ume@FreeBSD.org> | 2007-06-03 17:02:29 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2007-06-03 17:02:29 +0000 |
commit | 50b2307361fc1eba9b79963194fda27849a4994c (patch) | |
tree | fcab9dae0a6dfbc5403b46311a5588c3f7f49dd4 /lib/libc/inet/inet_pton.c | |
parent | 89a3ca4811ee4b83778a8ddb7d54874dff19b707 (diff) | |
download | FreeBSD-src-50b2307361fc1eba9b79963194fda27849a4994c.zip FreeBSD-src-50b2307361fc1eba9b79963194fda27849a4994c.tar.gz |
Vendor import of BIND 9.4.1
Diffstat (limited to 'lib/libc/inet/inet_pton.c')
-rw-r--r-- | lib/libc/inet/inet_pton.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/inet/inet_pton.c b/lib/libc/inet/inet_pton.c index f18a7b6..66b4c6a 100644 --- a/lib/libc/inet/inet_pton.c +++ b/lib/libc/inet/inet_pton.c @@ -16,7 +16,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static const char rcsid[] = "$Id: inet_pton.c,v 1.2.206.2 2005/07/28 07:43:18 marka Exp $"; +static const char rcsid[] = "$Id: inet_pton.c,v 1.3.18.2 2005/07/28 07:38:07 marka Exp $"; #endif /* LIBC_SCCS and not lint */ #include "port_before.h" @@ -30,7 +30,7 @@ static const char rcsid[] = "$Id: inet_pton.c,v 1.2.206.2 2005/07/28 07:43:18 ma #include <errno.h> #include "port_after.h" -/* +/*% * WARNING: Don't even consider trying to compile this on a system where * sizeof(int) < 4. sizeof(int) > 4 is fine; all the world's not a VAX. */ @@ -188,7 +188,7 @@ inet_pton6(src, dst) inet_pton4(curtok, tp) > 0) { tp += NS_INADDRSZ; seen_xdigits = 0; - break; /* '\0' was seen by inet_pton4(). */ + break; /*%< '\\0' was seen by inet_pton4(). */ } return (0); } @@ -219,3 +219,5 @@ inet_pton6(src, dst) memcpy(dst, tmp, NS_IN6ADDRSZ); return (1); } + +/*! \file */ |