]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r1685659 from trunk:
authorJim Jagielski <jim@apache.org>
Tue, 16 Jun 2015 17:20:26 +0000 (17:20 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 16 Jun 2015 17:20:26 +0000 (17:20 +0000)
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

STATUS
modules/ldap/util_ldap.c

diff --git a/STATUS b/STATUS
index dff21d19d6317230d0149b3a540ffc84919b4b99..16058e4bf44da20ea6d3e9e4ce3ed6e2e4e14da3 100644 (file)
--- 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
index 40dbb9d9f74dda8f6dc7e8367bbb8cd0ae07ab53..ee4418985a5fe2e678560c47afe614e7df9e7f7b 100644 (file)
@@ -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,