summaryrefslogtreecommitdiff
path: root/resolv/inet_addr.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-15 00:38:31 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-15 00:38:31 +0000
commitf6367df2fd032db89e68e28333d995fb18ffa653 (patch)
tree3b4bca3c94d629071e220c0f1a1b194c7dc8c3b6 /resolv/inet_addr.c
parent3e1e749e27765b2513b32d9cb1cd058830e6b2c8 (diff)
Update.
1999-10-14 Ulrich Drepper <drepper@cygnus.com> * manager.c (pthread_handle_create): Remove p_startfct initialization. * internals.h (_pthread_descr_struct): We don't need p_startfct field.
Diffstat (limited to 'resolv/inet_addr.c')
-rw-r--r--resolv/inet_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/inet_addr.c b/resolv/inet_addr.c
index 68f63101a2..60f0cbe3b4 100644
--- a/resolv/inet_addr.c
+++ b/resolv/inet_addr.c
@@ -168,7 +168,7 @@ inet_aton(cp, addr)
* a.b.c (with c treated as 16 bits)
* a.b (with b treated as 24 bits)
*/
- if (pp >> res.bytes + 3
+ if (pp > res.bytes + 3
|| val > 0xff)
goto ret_0;
*pp++ = val;