mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Silence a sparse warning about inconsistent indenting + some minor style issues
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1700330 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -209,8 +209,9 @@ static apr_status_t uldap_connection_unbind(void *param)
|
||||
*
|
||||
* The caller should hold the lock for this connection
|
||||
*/
|
||||
static apr_status_t util_ldap_connection_remove (void *param) {
|
||||
util_ldap_connection_t *ldc = param, *l = NULL, *prev = NULL;
|
||||
static apr_status_t util_ldap_connection_remove (void *param)
|
||||
{
|
||||
util_ldap_connection_t *ldc = param, *l = NULL, *prev = NULL;
|
||||
util_ldap_state_t *st;
|
||||
|
||||
if (!ldc) return APR_SUCCESS;
|
||||
@@ -2679,16 +2680,17 @@ static const char *util_ldap_set_referral_hop_limit(cmd_parms *cmd,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void *util_ldap_create_dir_config(apr_pool_t *p, char *d) {
|
||||
util_ldap_config_t *dc =
|
||||
(util_ldap_config_t *) apr_pcalloc(p,sizeof(util_ldap_config_t));
|
||||
static void *util_ldap_create_dir_config(apr_pool_t *p, char *d)
|
||||
{
|
||||
util_ldap_config_t *dc =
|
||||
(util_ldap_config_t *) apr_pcalloc(p,sizeof(util_ldap_config_t));
|
||||
|
||||
/* defaults are AP_LDAP_CHASEREFERRALS_ON and AP_LDAP_DEFAULT_HOPLIMIT */
|
||||
dc->client_certs = apr_array_make(p, 10, sizeof(apr_ldap_opt_tls_cert_t));
|
||||
dc->ChaseReferrals = AP_LDAP_CHASEREFERRALS_ON;
|
||||
dc->ReferralHopLimit = AP_LDAP_HOPLIMIT_UNSET;
|
||||
/* defaults are AP_LDAP_CHASEREFERRALS_ON and AP_LDAP_DEFAULT_HOPLIMIT */
|
||||
dc->client_certs = apr_array_make(p, 10, sizeof(apr_ldap_opt_tls_cert_t));
|
||||
dc->ChaseReferrals = AP_LDAP_CHASEREFERRALS_ON;
|
||||
dc->ReferralHopLimit = AP_LDAP_HOPLIMIT_UNSET;
|
||||
|
||||
return dc;
|
||||
return dc;
|
||||
}
|
||||
|
||||
static const char *util_ldap_set_op_timeout(cmd_parms *cmd,
|
||||
@@ -2892,7 +2894,6 @@ static void *util_ldap_merge_config(apr_pool_t *p, void *basev,
|
||||
|
||||
static apr_status_t util_ldap_cleanup_module(void *data)
|
||||
{
|
||||
|
||||
server_rec *s = data;
|
||||
util_ldap_state_t *st = (util_ldap_state_t *)ap_get_module_config(
|
||||
s->module_config, &ldap_module);
|
||||
@@ -2902,7 +2903,6 @@ static apr_status_t util_ldap_cleanup_module(void *data)
|
||||
}
|
||||
|
||||
return APR_SUCCESS;
|
||||
|
||||
}
|
||||
|
||||
static int util_ldap_pre_config(apr_pool_t *pconf, apr_pool_t *plog,
|
||||
|
Reference in New Issue
Block a user