diff options
author | minfrin <minfrin@13f79535-47bb-0310-9956-ffa450edef68> | 2005-01-20 14:00:53 +0000 |
---|---|---|
committer | minfrin <minfrin@13f79535-47bb-0310-9956-ffa450edef68> | 2005-01-20 14:00:53 +0000 |
commit | 86eda39734a419e1c786744605a06848e3860cdb (patch) | |
tree | 2adca76dfffb0fc38adc87c0aef9bc133534f423 | |
parent | 2d5ecabc518f04eedd85cc7fab93c4ae99202174 (diff) | |
download | libapr-util-86eda39734a419e1c786744605a06848e3860cdb.tar.gz |
Correct the return types for the set_option sub functions - they should
all return void.
Submitted by: Colm MacCarthaigh <colm stdlib net>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@125767 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | ldap/apr_ldap_option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldap/apr_ldap_option.c b/ldap/apr_ldap_option.c index 84bab84a..e25bb502 100644 --- a/ldap/apr_ldap_option.c +++ b/ldap/apr_ldap_option.c @@ -133,7 +133,7 @@ APU_DECLARE(int) apr_ldap_set_option(apr_pool_t *pool, * 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 @@ static int option_set_tls(apr_pool_t *pool, LDAP *ldap, const void *invalue, * 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; |