apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r125767 - /apr/apr-util/trunk/ldap/apr_ldap_option.c
Date Thu, 20 Jan 2005 14:00:56 GMT
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 <colm stdlib net>

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;

Mime
View raw message