summaryrefslogtreecommitdiff
path: root/sysdeps/posix/getaddrinfo.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-05-31 15:10:35 +0000
committerJakub Jelinek <jakub@redhat.com>2006-05-31 15:10:35 +0000
commit2774ea772499f5779e846646824784a44377c69a (patch)
tree8c23b862c87c0056b7ef8296f527ca580d5e15a5 /sysdeps/posix/getaddrinfo.c
parente482d83fb7eedcb449bfe80a6aa240cbd114c571 (diff)
Updated to fedora-glibc-20060531T1322cvs/fedora-glibc-2_4_90-11
Diffstat (limited to 'sysdeps/posix/getaddrinfo.c')
-rw-r--r--sysdeps/posix/getaddrinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
index a35b8662d5..185957be6a 100644
--- a/sysdeps/posix/getaddrinfo.c
+++ b/sysdeps/posix/getaddrinfo.c
@@ -1668,7 +1668,7 @@ gaiconf_init (void)
if (strcmp (cmd, "label") == 0)
{
struct in6_addr prefix;
- unsigned long int bits = 128;
+ unsigned long int bits;
unsigned long int val;
char *endp;
@@ -1677,6 +1677,7 @@ gaiconf_init (void)
nullbitsp = &labellist_nullbits;
new_elem:
+ bits = 128;
__set_errno (0);
cp = strchr (val1, '/');
if (cp != NULL)