diff options
| author | Dima Dorfman <dd@FreeBSD.org> | 2001-07-22 12:07:25 +0000 |
|---|---|---|
| committer | Dima Dorfman <dd@FreeBSD.org> | 2001-07-22 12:07:25 +0000 |
| commit | b5cf87e26a33fe12c8e2238149b5896b328f7fe2 (patch) | |
| tree | 3849d872b4b73608feb17809d7fb4d95c0fef6e0 /lib/libc/net/addr2ascii.3 | |
| parent | 4622ab764ab8a3550702e2699d502d3ddd177c1e (diff) | |
Notes
Diffstat (limited to 'lib/libc/net/addr2ascii.3')
| -rw-r--r-- | lib/libc/net/addr2ascii.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/addr2ascii.3 b/lib/libc/net/addr2ascii.3 index ced73497c4e8..b9f6fa9022d2 100644 --- a/lib/libc/net/addr2ascii.3 +++ b/lib/libc/net/addr2ascii.3 @@ -12,7 +12,7 @@ .\" no representations about the suitability of this software for any .\" purpose. It is provided "as is" without express or implied .\" warranty. -.\" +.\" .\" THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''. M.I.T. DISCLAIMS .\" ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE, .\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF @@ -146,7 +146,7 @@ inet_ntoa(struct in_addr addr) int inet_aton(const char *ascii, struct in_addr *addr) { - return (ascii2addr(AF_INET, ascii, addr) + return (ascii2addr(AF_INET, ascii, addr) == sizeof(*addr)); } .Ed |
