Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 31249 invoked from network); 20 Jan 2005 14:01:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Jan 2005 14:01:00 -0000 Received: (qmail 85125 invoked by uid 500); 20 Jan 2005 14:00:59 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 85078 invoked by uid 500); 20 Jan 2005 14:00:58 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list commits@apr.apache.org Received: (qmail 85060 invoked by uid 99); 20 Jan 2005 14:00:58 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 20 Jan 2005 06:00:57 -0800 Received: (qmail 31207 invoked by uid 65534); 20 Jan 2005 14:00:56 -0000 Date: 20 Jan 2005 14:00:56 -0000 Message-ID: <20050120140056.31204.qmail@minotaur.apache.org> From: minfrin@apache.org To: commits@apr.apache.org Subject: svn commit: r125767 - /apr/apr-util/trunk/ldap/apr_ldap_option.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: minfrin Date: Thu Jan 20 06:00:53 2005 New Revision: 125767 URL: http://svn.apache.org/viewcvs?view=rev&rev=125767 Log: Correct the return types for the set_option sub functions - they should all return void. Submitted by: Colm MacCarthaigh Modified: apr/apr-util/trunk/ldap/apr_ldap_option.c Modified: apr/apr-util/trunk/ldap/apr_ldap_option.c Url: http://svn.apache.org/viewcvs/apr/apr-util/trunk/ldap/apr_ldap_option.c?view=diff&rev=125767&p1=apr/apr-util/trunk/ldap/apr_ldap_option.c&r1=125766&p2=apr/apr-util/trunk/ldap/apr_ldap_option.c&r2=125767 ============================================================================== --- apr/apr-util/trunk/ldap/apr_ldap_option.c (original) +++ apr/apr-util/trunk/ldap/apr_ldap_option.c Thu Jan 20 06:00:53 2005 @@ -133,7 +133,7 @@ * APR_LDAP_STARTTLS: STARTTLS encryption * APR_LDAP_STOPTLS: Stop existing TLS connecttion */ -static int option_set_tls(apr_pool_t *pool, LDAP *ldap, const void *invalue, +static void option_set_tls(apr_pool_t *pool, LDAP *ldap, const void *invalue, apr_ldap_err_t *result) { int tls = * (const int *)invalue; @@ -298,7 +298,7 @@ * Microsoft: unknown * Solaris: unknown */ -static int option_set_cert(apr_pool_t *pool, LDAP *ldap, +static void option_set_cert(apr_pool_t *pool, LDAP *ldap, const void *invalue, apr_ldap_err_t *result) { apr_array_header_t *certs = (apr_array_header_t *)invalue;