]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Overzealous search/replace
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 27 Jun 2015 21:08:38 +0000 (17:08 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 27 Jun 2015 21:08:52 +0000 (17:08 -0400)
src/include/connection.h
src/main/connection.c
src/modules/rlm_ldap/ldap.c

index 475386ce55ed0895461f71bb74cb0cd33aebdcbd..951a6acba6e8849265ca8a02c230ec0f1dfd76c5 100644 (file)
@@ -113,7 +113,7 @@ void        fr_connection_release(fr_connection_pool_t *pool, void *conn);
 
 void   *fr_connection_reconnect(fr_connection_pool_t *pool, void *conn);
 
-int    fr_connection_close_internal(fr_connection_pool_t *pool, void *conn);
+int    fr_connection_close(fr_connection_pool_t *pool, void *conn);
 
 #ifdef __cplusplus
 }
index 2d61a1711841b0aafb125b6ed2cec1c4d59dd7f5..de2de4de86486f3eab31a964fdddbfa22eeb4609 100644 (file)
@@ -1490,7 +1490,7 @@ void *fr_connection_reconnect(fr_connection_pool_t *pool, void *conn)
  *     - 0 If the connection could not be found.
  *     - 1 if the connection was deleted.
  */
-int fr_connection_close_internal(fr_connection_pool_t *pool, void *conn)
+int fr_connection_close(fr_connection_pool_t *pool, void *conn)
 {
        fr_connection_t *this;
 
index 035466fc3d79b66495dfe1454b467cd1bc1ff2c5..2a33e80ae84c4ebc08924d2a9b86462ef1fa61bf 100644 (file)
@@ -1577,7 +1577,7 @@ void mod_conn_release(rlm_ldap_t const *inst, ldap_handle_t *conn)
         *      Instead, we let the next caller do the rebind.
         */
        if (conn->referred) {
-               fr_connection_close_internal(inst->pool, conn);
+               fr_connection_close(inst->pool, conn);
                return;
        }