[uClibc-cvs] uClibc/libc/inet resolv.c,1.45,1.46

Erik Andersen andersen at uclibc.org
Tue Jun 17 19:09:53 UTC 2003


Update of /var/cvs/uClibc/libc/inet
In directory winder:/tmp/cvs-serv11156/libc/inet

Modified Files:
	resolv.c 
Log Message:
Patch from Ronald Wahl fixing an IPV6 specific problem
with getaddrinfo().


Index: resolv.c
===================================================================
RCS file: /var/cvs/uClibc/libc/inet/resolv.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- resolv.c	1 Mar 2003 09:12:15 -0000	1.45
+++ resolv.c	17 Jun 2003 19:09:50 -0000	1.46
@@ -1894,8 +1894,8 @@
 	qp+=sizeof(*addr_list6)*2;
 	plen-=sizeof(*addr_list6)*2;
 
-	if (len < buflen) {
-		buflen=len;
+	if (plen < buflen) {
+		buflen=plen;
 		buf=qp;
 	}
 #endif /* __UCLIBC_HAS_IPV6__ */



More information about the uClibc-cvs mailing list