From 52b90ac8e5c37b10e19d522d5cf3dfcb1a629c23 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Mon, 15 Jun 2015 20:07:03 +0000 Subject: [PATCH] Fix directive name in error message + fix some style issue git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1685659 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ldap/util_ldap.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/modules/ldap/util_ldap.c b/modules/ldap/util_ldap.c index 0281245b5b..f5a6d85b08 100644 --- a/modules/ldap/util_ldap.c +++ b/modules/ldap/util_ldap.c @@ -2719,8 +2719,8 @@ static const char *util_ldap_set_op_timeout(cmd_parms *cmd, } static const char *util_ldap_set_conn_ttl(cmd_parms *cmd, - void *dummy, - const char *val) + void *dummy, + const char *val) { apr_interval_time_t timeout; util_ldap_state_t *st = @@ -2728,19 +2728,20 @@ static const char *util_ldap_set_conn_ttl(cmd_parms *cmd, &ldap_module); if (ap_timeout_parameter_parse(val, &timeout, "s") != APR_SUCCESS) { - return "LDAPConnPoolTTL has wrong format"; + return "LDAPConnectionPoolTTL has wrong format"; } if (timeout < 0) { /* reserve -1 for default value */ - timeout = AP_LDAP_CONNPOOL_INFINITE; + timeout = AP_LDAP_CONNPOOL_INFINITE; } st->connection_pool_ttl = timeout; return NULL; } + static const char *util_ldap_set_retry_delay(cmd_parms *cmd, - void *dummy, - const char *val) + void *dummy, + const char *val) { apr_interval_time_t timeout; util_ldap_state_t *st = @@ -2765,8 +2766,8 @@ static const char *util_ldap_set_retry_delay(cmd_parms *cmd, } static const char *util_ldap_set_retries(cmd_parms *cmd, - void *dummy, - const char *val) + void *dummy, + const char *val) { util_ldap_state_t *st = (util_ldap_state_t *)ap_get_module_config(cmd->server->module_config, -- 2.50.1