Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 57833 invoked from network); 27 Nov 2006 10:50:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2006 10:50:42 -0000 Received: (qmail 15128 invoked by uid 500); 27 Nov 2006 10:50:52 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 15113 invoked by uid 500); 27 Nov 2006 10:50:51 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 15102 invoked by uid 99); 27 Nov 2006 10:50:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2006 02:50:51 -0800 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 [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2006 02:50:42 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 074171A9846; Mon, 27 Nov 2006 02:50:05 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r479582 - /apr/apr/trunk/test/testsock.c Date: Mon, 27 Nov 2006 10:50:04 -0000 To: commits@apr.apache.org From: jorton@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061127105005.074171A9846@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jorton Date: Mon Nov 27 02:50:04 2006 New Revision: 479582 URL: http://svn.apache.org/viewvc?view=rev&rev=479582 Log: * test/testsock.c (setup_socket): Bind the socket to 127.0.0.1 rather than 0.0.0.0 since a connect() to the latter apparently doesn't work on Win32; the ./sockchild-based tests only use 127.0.0.1 anyway. Modified: apr/apr/trunk/test/testsock.c Modified: apr/apr/trunk/test/testsock.c URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testsock.c?view=diff&rev=479582&r1=479581&r2=479582 ============================================================================== --- apr/apr/trunk/test/testsock.c (original) +++ apr/apr/trunk/test/testsock.c Mon Nov 27 02:50:04 2006 @@ -79,7 +79,7 @@ apr_sockaddr_t *sa; apr_socket_t *sock; - rv = apr_sockaddr_info_get(&sa, NULL, APR_INET, 8021, 0, p); + rv = apr_sockaddr_info_get(&sa, "127.0.0.1", APR_INET, 8021, 0, p); APR_ASSERT_SUCCESS(tc, "Problem generating sockaddr", rv); rv = apr_socket_create(&sock, sa->family, SOCK_STREAM, APR_PROTO_TCP, p);