Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 91877 invoked from network); 5 Apr 2006 17:02:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Apr 2006 17:02:21 -0000 Received: (qmail 48999 invoked by uid 500); 5 Apr 2006 17:02:20 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 48970 invoked by uid 500); 5 Apr 2006 17:02:20 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 48959 invoked by uid 99); 5 Apr 2006 17:02:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 10:02:20 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 05 Apr 2006 10:02:19 -0700 Received: (qmail 91755 invoked by uid 65534); 5 Apr 2006 17:01:59 -0000 Message-ID: <20060405170159.91754.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r391677 - /incubator/harmony/enhanced/classlib/trunk/native-src/win.IA32/port/hysock.c Date: Wed, 05 Apr 2006 17:01:58 -0000 To: harmony-commits@incubator.apache.org From: tellison@apache.org X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: tellison Date: Wed Apr 5 10:01:56 2006 New Revision: 391677 URL: http://svn.apache.org/viewcvs?rev=391677&view=rev Log: Fix for HARMONY-303 (isAnyAddress is a function not a variable in win.IA32/port/hysock.c) Modified: incubator/harmony/enhanced/classlib/trunk/native-src/win.IA32/port/hysock.c Modified: incubator/harmony/enhanced/classlib/trunk/native-src/win.IA32/port/hysock.c URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/native-src/win.IA32/port/hysock.c?rev=391677&r1=391676&r2=391677&view=diff ============================================================================== --- incubator/harmony/enhanced/classlib/trunk/native-src/win.IA32/port/hysock.c (original) +++ incubator/harmony/enhanced/classlib/trunk/native-src/win.IA32/port/hysock.c Wed Apr 5 10:01:56 2006 @@ -638,7 +638,7 @@ } /* If we are the any address, then we want to bind on the other IP stack as well, if that socket is still open */ - if (isAnyAddress + if (anyAddress && ((isIPv4 && (sock->flags & SOCKET_IPV6_OPEN_MASK)) || (!isIPv4 && (sock->flags & SOCKET_IPV4_OPEN_MASK)))) {