From: Jim Jagielski Date: Tue, 16 Jun 2015 17:20:26 +0000 (+0000) Subject: Merge r1685659 from trunk: X-Git-Tag: 2.4.15~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5530676fd52b278fb532d92193a0994cafbc36a;p=thirdparty%2Fapache%2Fhttpd.git Merge r1685659 from trunk: Fix directive name in error message + fix some style issue Submitted by: jailletc36 Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1685869 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/STATUS b/STATUS index dff21d19d63..16058e4bf44 100644 --- a/STATUS +++ b/STATUS @@ -117,10 +117,6 @@ RELEASE SHOWSTOPPERS: PATCHES ACCEPTED TO BACKPORT FROM TRUNK: [ start all new proposals below, under PATCHES PROPOSED. ] - *) mod_ldap: Fix typo in directive name in error message - trunk patch: http://svn.apache.org/r1685659 - 2.4.x patch: trunk works - +1: jailletc36, covener, ylavic *) mod_ssl: Remove deprecated SSLCertificateChainFile warning. trunk patch: http://svn.apache.org/r1685779 diff --git a/modules/ldap/util_ldap.c b/modules/ldap/util_ldap.c index 40dbb9d9f74..ee4418985a5 100644 --- a/modules/ldap/util_ldap.c +++ b/modules/ldap/util_ldap.c @@ -2717,8 +2717,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 = @@ -2726,19 +2726,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 = @@ -2763,8 +2764,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,