Author: remy.maucherat(a)jboss.com
Date: 2008-09-03 12:41:57 -0400 (Wed, 03 Sep 2008)
New Revision: 766
Modified:
trunk/native/connector/src/address.c
Log:
- Port patch: fixes crash.
Modified: trunk/native/connector/src/address.c
===================================================================
--- trunk/native/connector/src/address.c 2008-09-03 15:17:51 UTC (rev 765)
+++ trunk/native/connector/src/address.c 2008-09-03 16:41:57 UTC (rev 766)
@@ -48,7 +48,7 @@
#if APR_HAVE_IPV6
if (hostname == NULL) {
/* Try all address using IPV6 one */
- while (sl) {
+ while (sl && sl->next) {
if (sl->family == APR_INET6)
break; /* Done */
sl = sl->next;
Show replies by date