From commits-return-8516-apmail-apr-commits-archive=apr.apache.org@apr.apache.org Mon Aug 06 09:50:22 2007 Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 3469 invoked from network); 6 Aug 2007 09:50:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Aug 2007 09:50:20 -0000 Received: (qmail 63791 invoked by uid 500); 6 Aug 2007 09:50:19 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 63746 invoked by uid 500); 6 Aug 2007 09:50:19 -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 63730 invoked by uid 99); 6 Aug 2007 09:50:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2007 02:50:19 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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, 06 Aug 2007 09:50:18 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5F2091A981A; Mon, 6 Aug 2007 02:49:58 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r563078 - /apr/apr-util/trunk/test/testreslist.c Date: Mon, 06 Aug 2007 09:49:58 -0000 To: commits@apr.apache.org From: rpluem@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070806094958.5F2091A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rpluem Date: Mon Aug 6 02:49:57 2007 New Revision: 563078 URL: http://svn.apache.org/viewvc?view=rev&rev=563078 Log: * Releasing a resource back to the list requires a pointer to the resource, not a pointer on the pointer to the resource. Modified: apr/apr-util/trunk/test/testreslist.c Modified: apr/apr-util/trunk/test/testreslist.c URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/test/testreslist.c?view=diff&rev=563078&r1=563077&r2=563078 ============================================================================== --- apr/apr-util/trunk/test/testreslist.c (original) +++ apr/apr-util/trunk/test/testreslist.c Mon Aug 6 02:49:57 2007 @@ -147,7 +147,7 @@ * will blow */ for (i = 0; i < RESLIST_HMAX; i++) { - rv = apr_reslist_release(rl, &resources[i]); + rv = apr_reslist_release(rl, resources[i]); ABTS_INT_EQUAL(tc, rv, APR_SUCCESS); } }